Skip to content

Commit

Permalink
replace factory girl with factory bot
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonislawski committed Oct 29, 2017
1 parent 6a7eb6a commit ded28ac
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .byebug_history
@@ -0,0 +1,17 @@
c
n
c
n
c
exception
n
c
n
c
n
c
n
c
n
c
save_and_open_page
4 changes: 2 additions & 2 deletions spec/support/factory_girl.rb
@@ -1,5 +1,5 @@
require 'factory_girl'
require 'factory_bot'

RSpec.configure do |config|
config.include FactoryGirl::Syntax::Methods
config.include FactoryBot::Syntax::Methods
end
2 changes: 1 addition & 1 deletion spree_recently_viewed.gemspec
Expand Up @@ -26,7 +26,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'spree_core', '>= 3.1.0', '< 4.0'

s.add_development_dependency 'rspec-rails'
s.add_development_dependency 'factory_girl'
s.add_development_dependency 'factory_bot'
s.add_development_dependency 'capybara'
s.add_development_dependency 'capybara-screenshot'
s.add_development_dependency 'poltergeist'
Expand Down

0 comments on commit ded28ac

Please sign in to comment.