Sha256: 3b6df846dc627bf8bfe91d1b8a8b02f1f9d7bf56ee54dc30730d83bc86d3b29e

Contents?: true

Size: 898 Bytes

Versions: 5

Compression:

Stored size: 898 Bytes

Contents

require 'simplecov'
require 'coveralls'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]
SimpleCov.start do
  add_filter 'spec'
  add_filter 'lib/spree_faq/engine'
  add_group  'Controllers', 'app/controllers'
  add_group  'Overrides', 'app/overrides'
  add_group  'Models', 'app/models'
  add_group  'Libraries', 'lib'
end

ENV['RAILS_ENV'] = 'test'

require File.expand_path('../dummy/config/environment.rb', __FILE__)

require 'rspec/rails'
require 'shoulda-matchers'
require 'ffaker'

RSpec.configure do |config|
  config.mock_with :rspec do |mock|
    mock.syntax = [:should, :expect]
  end

  config.use_transactional_fixtures = false
  config.infer_spec_type_from_file_location!
  config.raise_errors_for_deprecations!
end

Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f }

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree-faq-2.4.0 spec/spec_helper.rb
spree-faq-2.3.0 spec/spec_helper.rb
spree-faq-2.2.1 spec/spec_helper.rb
spree-faq-2.1.1 spec/spec_helper.rb
spree-faq-2.0.1 spec/spec_helper.rb