diff options
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index e55b5c5..ae3528d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,18 +1,18 @@ # frozen_string_literal: true # Configure Rails Environment -ENV['RAILS_ENV'] = 'test' +ENV["RAILS_ENV"] = "test" -require File.expand_path('dummy/config/environment.rb', __dir__).tap { |file| +require File.expand_path("dummy/config/environment.rb", __dir__).tap { |file| # Create the dummy app if it's still missing. - system 'bin/rake extension:test_app' unless File.exist? file + system "bin/rake extension:test_app" unless File.exist? file } -require 'solidus_dev_support/rspec/rails_helper' +require "solidus_dev_support/rspec/rails_helper" # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. -Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f } +Dir[File.join(File.dirname(__FILE__), "support/**/*.rb")].each { |f| require f } RSpec.configure do |config| config.infer_spec_type_from_file_location! |