spec/spec_helper.rb in adhoq-0.2.0 vs spec/spec_helper.rb in adhoq-0.3.0
- old
+ new
@@ -4,11 +4,11 @@
require 'rspec/rails'
require 'capybara/rspec'
require 'capybara/poltergeist'
require 'database_cleaner'
-require 'factory_girl_rails'
+require 'factory_bot_rails'
require 'pry-byebug'
Rails.backtrace_cleaner.remove_silencers!
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f }
@@ -34,10 +34,10 @@
end
config.profile_examples = 10
config.order = :random
- config.include FactoryGirl::Syntax::Methods
+ config.include FactoryBot::Syntax::Methods
Kernel.srand config.seed
config.around(:each, :fog_mock) do |example|
begin
Fog.mock!