Merge pull request #309 from opf/feature/rails3_add_wiki_attachment_factory

add wiki_attachment factory
pull/269/merge
sschu 11 years ago
commit 56ea1b5f6e
  1. 4
      spec/factories/attachment_factory.rb

@ -15,5 +15,9 @@ FactoryGirl.define do
author :factory => :user
sequence(:filename) { |n| "test#{n}.test" }
sequence(:disk_filename) { |n| "test#{n}.test" }
factory :wiki_attachment do
container :factory => :wiki_page_with_content
end
end
end

Loading…
Cancel
Save