Sha256: ee1cd3f9038a7e81dd0c43adeea4be119c3aa79534edb751ace3bfabb9ee49a4

Contents?: true

Size: 561 Bytes

Versions: 4

Compression:

Stored size: 561 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_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

4 entries across 4 versions & 1 rubygems

Version Path
knapsack-0.5.0 spec_examples/spec_helper.rb
knapsack-0.4.0 spec_examples/spec_helper.rb
knapsack-0.3.0 spec_examples/spec_helper.rb
knapsack-0.2.0 spec_examples/spec_helper.rb