Skip to content

Commit

Permalink
update dependencies, update to FactoryBot
Browse files Browse the repository at this point in the history
  • Loading branch information
afdev82 committed Nov 16, 2017
1 parent 2e76190 commit 80e2f40
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/solidus_catalog_mode/factories.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FactoryGirl.define do
FactoryBot.define do
# Define your Spree extensions Factories within this file to enable applications, and other extensions to use and override them.
#
# Example adding this to your spec_helper will load these Factories for use:
Expand Down
18 changes: 9 additions & 9 deletions solidus_catalog_mode.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ Gem::Specification.new do |s|

s.add_dependency 'solidus_core', '~> 2.3'

s.add_development_dependency 'capybara'
s.add_development_dependency 'poltergeist'
s.add_development_dependency 'coffee-rails'
s.add_development_dependency 'sass-rails'
s.add_development_dependency 'database_cleaner'
s.add_development_dependency 'factory_girl'
s.add_development_dependency 'rspec-rails'
s.add_development_dependency 'capybara', '~> 0'
s.add_development_dependency 'poltergeist', '~> 0'
s.add_development_dependency 'coffee-rails', '~> 0'
s.add_development_dependency 'sass-rails', '~> 0'
s.add_development_dependency 'database_cleaner', '~> 0'
s.add_development_dependency 'factory_bot', '~> 0'
s.add_development_dependency 'rspec-rails', '~> 0'
s.add_development_dependency 'rubocop', '0.37.2'
s.add_development_dependency 'rubocop-rspec', '1.4.0'
s.add_development_dependency 'simplecov'
s.add_development_dependency 'sqlite3'
s.add_development_dependency 'simplecov', '~> 0'
s.add_development_dependency 'sqlite3', '~> 0'
end
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
require 'solidus_catalog_mode/factories'

RSpec.configure do |config|
config.include FactoryGirl::Syntax::Methods
config.include FactoryBot::Syntax::Methods

# Infer an example group's spec type from the file location.
config.infer_spec_type_from_file_location!
Expand Down

0 comments on commit 80e2f40

Please sign in to comment.