Sha256: d480fadc7fd65c9f65d4b66e686f01f13c4343c6f82e171bdeb21657a7f8fc9b

Contents?: true

Size: 663 Bytes

Versions: 17

Compression:

Stored size: 663 Bytes

Contents

require "bundler/setup"
require "license_acceptance/logger"
require "logger"

RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure
  config.example_status_persistence_file_path = ".rspec_status"

  # Disable RSpec exposing methods globally on `Module` and `main`
  config.disable_monkey_patching!

  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true
  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.before(:all) do
    LicenseAcceptance::Logger.initialize(::Logger.new(IO::NULL))
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
license-acceptance-1.0.13 spec/spec_helper.rb
license-acceptance-1.0.12 spec/spec_helper.rb
license-acceptance-1.0.11 spec/spec_helper.rb
license-acceptance-1.0.8 spec/spec_helper.rb
license-acceptance-1.0.7 spec/spec_helper.rb
license-acceptance-1.0.6 spec/spec_helper.rb
license-acceptance-1.0.5 spec/spec_helper.rb
license-acceptance-1.0.3 spec/spec_helper.rb
license-acceptance-1.0.2 spec/spec_helper.rb
license-acceptance-1.0.0 spec/spec_helper.rb
license-acceptance-0.2.16 spec/spec_helper.rb
license-acceptance-0.2.15 spec/spec_helper.rb
license-acceptance-0.2.13 spec/spec_helper.rb
license-acceptance-0.2.10 spec/spec_helper.rb
license-acceptance-0.2.8 spec/spec_helper.rb
license-acceptance-0.2.6 spec/spec_helper.rb
license-acceptance-0.2.1 spec/spec_helper.rb