Sha256: 3e6274c0292ce4bd92c2051efb44dcb58941541935d6b1d296bc367d1258de65
Contents?: true
Size: 1 KB
Versions: 3
Compression:
Stored size: 1 KB
Contents
require 'simplecov' SimpleCov.start 'rails' ENV['RAILS_ENV'] ||= 'test' begin require File.expand_path('../dummy/config/environment', __FILE__) rescue LoadError puts 'Could not load dummy application. Please ensure you have run `bundle exec rake test_app`' exit end require 'rspec/rails' require 'ffaker' require 'shoulda-matchers' require 'pry' RSpec.configure do |config| config.fail_fast = false config.filter_run focus: true config.run_all_when_everything_filtered = true config.mock_with :rspec config.use_transactional_fixtures = false config.raise_errors_for_deprecations! config.infer_spec_type_from_file_location! config.expect_with :rspec do |expectations| expectations.syntax = :expect end end # From: https://github.com/thoughtbot/shoulda-matchers/issues/384 Shoulda::Matchers.configure do |config| config.integrate do |with| with.test_framework :rspec with.library :rails end end Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |file| require file }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
solidus_volume_pricing-0.1.1 | spec/spec_helper.rb |
solidus_volume_pricing-0.2.0 | spec/spec_helper.rb |
solidus_volume_pricing-0.1.0 | spec/spec_helper.rb |