Sha256: 64147ac43a1366b25edfc1e16cf991de022f67a9f7fff8e8b4f2ed258b676840

Contents?: true

Size: 701 Bytes

Versions: 4

Compression:

Stored size: 701 Bytes

Contents

require "simplecov"
require "coveralls"
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]
SimpleCov.start { add_filter "/spec/" }

require "pry"
require "merch_calendar"

RSpec.configure do |config|
  config.mock_with :rspec do |mocks_config|
    mocks_config.verify_doubled_constant_names = true
    mocks_config.verify_partial_doubles = true
  end

  config.around do |example|
    # Hide deprecation warnings within this gem from showing up in tests
    if Date.today < MerchCalendar::DEPRECATION_DATE
      Gem::Deprecate.skip_during do
        example.run
      end
    else
      example.run
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
merch_calendar-0.3.0 spec/spec_helper.rb
merch_calendar-0.1.0 spec/spec_helper.rb
merch_calendar-0.1.0.rc3 spec/spec_helper.rb
merch_calendar-0.1.0.rc2 spec/spec_helper.rb