lib/decidim/decidim_awesome/test/factories.rb in decidim-decidim_awesome-0.6.0 vs lib/decidim/decidim_awesome/test/factories.rb in decidim-decidim_awesome-0.6.1
- old
+ new
@@ -14,10 +14,10 @@
settings { { Faker::Hacker.noun => Faker::Hacker.noun } }
awesome_config { create :awesome_config }
end
factory :editor_image, class: "Decidim::DecidimAwesome::EditorImage" do
- image { Faker::Hacker.noun }
+ image { Decidim::Dev.test_file("city.jpeg", "image/jpeg") }
path { Faker::Internet.url(host: "", scheme: "") }
author { create :user }
organization { create :organization }
end