spec/factories/preference_factory.rb in dm_preferences-1.5.1 vs spec/factories/preference_factory.rb in dm_preferences-1.6.0
- old
+ new
@@ -1,7 +1,7 @@
-FactoryGirl.define do
+FactoryBot.define do
factory :preference do
- name 'notifications'
- value false
- association :owner, factory: :user
+ name { "notifications" }
+ value { false }
+ association :owner, factory: :user
end
-end
\ No newline at end of file
+end