spec/fabricators/profiles_fabricator.rb in puffer-0.0.19 vs spec/fabricators/profiles_fabricator.rb in puffer-0.0.20
- old
+ new
@@ -3,7 +3,7 @@
surname { Forgery::Name.last_name }
birth_date { Date.current }
end
Fabricator :profile_with_tags, :from => :profile do
- tags!(:count => 3) { |profile, i| Fabricate :tag }
+ tags!(:count => 3) { |profile, i| Fabricate(:tag) }
end