Skip to content

Commit

Permalink
Use factory bot (solidusio/solidus#2315)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmijos committed Apr 17, 2018
1 parent 26d80ba commit 08f9f70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/solidus_simple_sale_price/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
2 changes: 1 addition & 1 deletion solidus_simple_sale_price.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |s|
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 'factory_bot'
s.add_development_dependency 'rspec-rails'
s.add_development_dependency 'rubocop', '0.54.0'
s.add_development_dependency 'rubocop-rspec', '1.4.0'
Expand Down
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_simple_sale_price/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 08f9f70

Please sign in to comment.