Sha256: aa80e25d9e887c942ab1b20637f486c03566ede37676b4845446a0e82c865990
Contents?: true
Size: 593 Bytes
Versions: 3
Compression:
Stored size: 593 Bytes
Contents
require 'bundler/setup' Bundler.setup require 'codeclimate-test-reporter' CodeClimate::TestReporter.start require 'usps_flags' # Some specs contain examples that check for the custom examples from USPSFlags::Errors RSpec::Expectations.configuration.on_potential_false_positives = :nothing RSpec.configure do |config| config.before(:suite) do $tmp_flags_dir = "tmp/flags" $tmp_alt_flags_dir = "tmp/alt_flags" USPSFlags::Config.new do |c| c.flags_dir = $tmp_flags_dir end end config.after(:suite) do ::FileUtils.rm_rf("tmp") if ::Dir.exist?("tmp") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
usps_flags-0.3.10 | spec/spec_helper.rb |
usps_flags-0.3.9 | spec/spec_helper.rb |
usps_flags-0.3.8 | spec/spec_helper.rb |