Sha256: 96f0d2f4772afbca1b86cef2c63b949c3f30dd96e9ae2dda4753364be7b5576a

Contents?: true

Size: 567 Bytes

Versions: 36

Compression:

Stored size: 567 Bytes

Contents

require 'knapsack'
require 'support/shared_examples/common_example'

Knapsack.tracker.config({
  enable_time_offset_warning: true,
  time_offset_in_seconds: 3
})
Knapsack.report.config({
  report_path: 'knapsack_rspec_report.json'
})

if ENV['CUSTOM_LOGGER']
  require 'logger'
  Knapsack.logger = Logger.new(STDOUT)
  Knapsack.logger.level = Logger::INFO
end

Knapsack::Adapters::RSpecAdapter.bind

RSpec.configure do |config|
  config.order = :random
  config.mock_with :rspec do |mocks|
    mocks.syntax = :expect
    mocks.verify_partial_doubles = true
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
knapsack-4.0.0 spec_examples/spec_helper.rb
knapsack-3.1.0 spec_examples/spec_helper.rb
knapsack-3.0.0 spec_examples/spec_helper.rb
knapsack-2.0.0 spec_examples/spec_helper.rb
knapsack-1.22.0 spec_examples/spec_helper.rb
knapsack-1.21.1 spec_examples/spec_helper.rb
knapsack-1.21.0 spec_examples/spec_helper.rb
knapsack-1.20.0 spec_examples/spec_helper.rb
knapsack-1.19.0 spec_examples/spec_helper.rb
knapsack-1.18.0 spec_examples/spec_helper.rb
knapsack-1.17.2 spec_examples/spec_helper.rb
knapsack-1.17.1 spec_examples/spec_helper.rb
knapsack-1.17.0 spec_examples/spec_helper.rb
knapsack-1.16.0 spec_examples/spec_helper.rb
knapsack-1.15.0 spec_examples/spec_helper.rb
knapsack-1.14.1 spec_examples/spec_helper.rb
knapsack-1.14.0 spec_examples/spec_helper.rb
knapsack-1.13.3 spec_examples/spec_helper.rb
knapsack-1.13.2 spec_examples/spec_helper.rb
knapsack-1.13.1 spec_examples/spec_helper.rb