spec/factories/library.rb in enju_event-0.2.3 vs spec/factories/library.rb in enju_event-0.3.0.beta.1

- old
+ new

@@ -5,9 +5,9 @@ f.library_group_id{LibraryGroup.first.id} end end FactoryBot.define do - factory :invalid_library, :class => Library do |f| + factory :invalid_library, class: Library do |f| f.library_group_id{LibraryGroup.first.id} end end