Sha256: 74327075a4a2b0ca6b2d4d776b8738916d6b2219af1e559ab82d3a5dcba4a536

Contents?: true

Size: 737 Bytes

Versions: 9

Compression:

Stored size: 737 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'

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

9 entries across 9 versions & 1 rubygems

Version Path
spree_cmd-3.0.5 spec/spec_helper.rb
spree_cmd-3.0.4 spec/spec_helper.rb
spree_cmd-3.0.3 spec/spec_helper.rb
spree_cmd-3.0.2 spec/spec_helper.rb
spree_cmd-3.0.1 spec/spec_helper.rb
spree_cmd-3.0.0 spec/spec_helper.rb
spree_cmd-3.0.0.rc4 spec/spec_helper.rb
spree_cmd-3.0.0.rc3 spec/spec_helper.rb
spree_cmd-3.0.0.rc1 spec/spec_helper.rb