Sha256: bc7d126267226c5842d5b7b01aad4f0c867e4d3d7c590dc01205ef05822c822c

Contents?: true

Size: 730 Bytes

Versions: 2

Compression:

Stored size: 730 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

  if defined?(Rails)
    config.fixture_path = Rails.root.join('spec', 'fixtures')
    config.use_transactional_fixtures = false
  end


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_cmd-1.4.0 spec/spec_helper.rb
solidus_cmd-1.3.0 spec/spec_helper.rb