lib/rspeckled/plugins/authentication.rb in rspeckled-0.0.34 vs lib/rspeckled/plugins/authentication.rb in rspeckled-0.0.35
- old
+ new
@@ -31,10 +31,10 @@
end
instance = if options.is_a?(Hash) && options[:strategy] == :instance
klass.new
else
- FactoryGirl.create(underscored_class_name.to_sym)
+ FactoryBot.create(underscored_class_name.to_sym)
end
inferred_auth_method = if options.is_a?(Hash) && options[:authentication_method]
options[:authentication_method]
else