spec_examples/spec_helper.rb in knapsack-0.0.3 vs spec_examples/spec_helper.rb in knapsack-0.1.0
- old
+ new
@@ -1,10 +1,13 @@
require 'knapsack'
Knapsack.tracker.config({
enable_time_offset_warning: true,
- time_offset_warning: 5
+ time_offset_in_seconds: 3
})
-Knapsack::Adapters::Rspec.bind
+Knapsack.report.config({
+ report_path: 'knapsack_report.json'
+})
+Knapsack::Adapters::RspecAdapter.bind
RSpec.configure do |config|
config.order = :random
config.mock_with :rspec do |mocks|
mocks.syntax = :expect