spec/factories/fe_people.rb in fe-1.0.0 vs spec/factories/fe_people.rb in fe-2.0.0
- old
+ new
@@ -1,8 +1,8 @@
-# Read about factories at https://github.com/thoughtbot/factory_girl
+# Read about factories at https://github.com/thoughtbot/factory_bot
-FactoryGirl.define do
- factory :fe_person, :class => 'Fe::Person' do
- first_name "MyString"
- last_name "MyString"
+FactoryBot.define do
+ factory :fe_person, class: 'Fe::Person' do
+ first_name { "MyString" }
+ last_name { "MyString" }
end
end