summaryrefslogtreecommitdiff
path: root/spec/rails_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rails_helper.rb')
-rw-r--r--spec/rails_helper.rb52
1 files changed, 0 insertions, 52 deletions
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
deleted file mode 100644
index 0e9ab14..0000000
--- a/spec/rails_helper.rb
+++ /dev/null
@@ -1,52 +0,0 @@
-# Run Coverage report
-require 'simplecov'
-SimpleCov.start do
- add_filter 'spec/'
- add_filter 'app/overrides'
- add_filter 'lib/solidus_subscriptions/engine.rb'
- add_group 'Controllers', 'app/controllers'
- add_group 'Helpers', 'app/helpers'
- add_group 'Mailers', 'app/mailers'
- add_group 'Models', 'app/models'
- add_group 'Views', 'app/views'
- add_group 'Libraries', 'lib'
-end
-
-# This can't be 100 because some code is specific to the solidus version
-# under test.
-SimpleCov.minimum_coverage 90
-
-# Configure Rails Environment
-ENV['RAILS_ENV'] = 'test'
-
-require File.expand_path('../dummy/config/environment.rb', __FILE__)
-
-require 'rspec/rails'
-require 'rspec/active_model/mocks'
-require 'database_cleaner'
-require 'ffaker'
-require 'pry'
-require 'timecop'
-
-# 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 }
-
-# Requires factories and other useful helpers defined in spree_core.
-require 'spree/testing_support/authorization_helpers'
-require 'spree/testing_support/capybara_ext'
-require 'spree/testing_support/controller_requests'
-require 'spree/testing_support/factories'
-require 'spree/testing_support/url_helpers'
-
-# Requires factories defined in lib/solidus_subscriptions/factories.rb
-require 'solidus_subscriptions/testing_support/factories'
-
-require 'spec_helper'
-require 'shoulda-matchers'
-Shoulda::Matchers.configure do |config|
- config.integrate do |with|
- with.test_framework :rspec
- with.library :rails
- end
-end