Sha256: d0fcb7551eef0582fe0935c2073f11fbbac5b38974f5bf9b2f4e5708e615cd63
Contents?: true
Size: 657 Bytes
Versions: 5
Compression:
Stored size: 657 Bytes
Contents
require 'timecop' Timecop.safe_mode = true require 'codeclimate-test-reporter' CodeClimate::TestReporter.start require 'knapsack' RSpec.configure do |config| config.order = :random config.mock_with :rspec do |mocks| mocks.syntax = :expect mocks.verify_partial_doubles = true end config.expect_with :rspec do |c| c.syntax = :expect end config.before(:each) do if RSpec.current_example.metadata[:clear_tmp] FileUtils.mkdir_p(File.join(Knapsack.root, 'tmp')) end end config.after(:each) do if RSpec.current_example.metadata[:clear_tmp] FileUtils.rm_r(File.join(Knapsack.root, 'tmp')) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
knapsack-0.1.4 | spec/spec_helper.rb |
knapsack-0.1.3 | spec/spec_helper.rb |
knapsack-0.1.2 | spec/spec_helper.rb |
knapsack-0.1.1 | spec/spec_helper.rb |
knapsack-0.1.0 | spec/spec_helper.rb |