Add tests for reverting to foreign versions.
This commit is contained in:
9
test/factories/artist_commentary.rb
Normal file
9
test/factories/artist_commentary.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
FactoryGirl.define do
|
||||
factory(:artist_commentary) do
|
||||
post :factory => :post
|
||||
original_title { FFaker::Lorem.sentences.join(" ") }
|
||||
original_description { FFaker::Lorem.sentences.join(" ") }
|
||||
translated_title { FFaker::Lorem.sentences.join(" ") }
|
||||
translated_description { FFaker::Lorem.sentences.join(" ") }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user