Sha256: 6475d5d14472d7e6228d738ff65065ebba523346429297fbc2b2c31eeac4a0be

Contents?: true

Size: 992 Bytes

Versions: 3

Compression:

Stored size: 992 Bytes

Contents

require 'simplecov'
require 'coveralls'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]
SimpleCov.start do
  add_filter '/.bundle'
  add_filter '/spec/'
  add_filter '/lib/spree_postal_service/engine'
  add_group 'Libraries', 'lib'
end

ENV['RAILS_ENV'] ||= 'test'

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

require 'pry'
require 'ffaker'
require 'rspec/rails'

ActiveRecord::Migration.maintain_test_schema!
ActiveRecord::Migration.check_pending!

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.raise_errors_for_deprecations!
  config.infer_spec_type_from_file_location!

  config.expect_with :rspec do |expectations|
    expectations.syntax = :expect
  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
spree_postal_service-2.4.0 spec/spec_helper.rb
spree_postal_service-2.3.1 spec/spec_helper.rb
spree_postal_service-2.3.0 spec/spec_helper.rb