Sha256: 8073d662696f6267f7e3c2e633e15a2a8816f83b4c43cc8fdf80755cda5fa7d4

Contents?: true

Size: 798 Bytes

Versions: 6

Compression:

Stored size: 798 Bytes

Contents

if ENV["COVERAGE"]
  # Run Coverage report
  require 'simplecov'
  SimpleCov.start do
    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
end

# This file is copied to ~/spec when you run 'ruby script/generate rspec'
# from the project root directory.
ENV["RAILS_ENV"] ||= 'test'

require 'spree/testing_support/shoulda_matcher_configuration'

RSpec.configure do |config|
  config.color = true
  config.mock_with :rspec
  config.raise_errors_for_deprecations!

  config.fixture_path = "#{::Rails.root}/spec/fixtures"

  config.use_transactional_fixtures = false

  config.fail_fast = ENV['FAIL_FAST'] || false
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_cmd-3.0.10 spec/spec_helper.rb
spree_cmd-3.0.9 spec/spec_helper.rb
spree_cmd-3.0.8 spec/spec_helper.rb
spree_cmd-3.0.7 spec/spec_helper.rb
spree_cmd-3.0.6.1 spec/spec_helper.rb
spree_cmd-3.0.6 spec/spec_helper.rb