Sha256: 79f2763ae8a43b2e7eb9fd4dce0c2d5535f754015c76c6ba3ebf073ccd4ef449

Contents?: true

Size: 567 Bytes

Versions: 13

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

13 entries across 13 versions & 1 rubygems

Version Path
knapsack-1.3.4 spec_examples/spec_helper.rb
knapsack-1.3.3 spec_examples/spec_helper.rb
knapsack-1.3.1 spec_examples/spec_helper.rb
knapsack-1.3.0 spec_examples/spec_helper.rb
knapsack-1.2.1 spec_examples/spec_helper.rb
knapsack-1.2.0 spec_examples/spec_helper.rb
knapsack-1.1.1 spec_examples/spec_helper.rb
knapsack-1.1.0 spec_examples/spec_helper.rb
knapsack-1.0.4 spec_examples/spec_helper.rb
knapsack-1.0.3 spec_examples/spec_helper.rb
knapsack-1.0.2 spec_examples/spec_helper.rb
knapsack-1.0.1 spec_examples/spec_helper.rb
knapsack-1.0.0 spec_examples/spec_helper.rb