Sha256: 89970549fa75b2f12937c65a10d5094b314695316b9c61f46d98c5fca48ed805
Contents?: true
Size: 612 Bytes
Versions: 2
Compression:
Stored size: 612 Bytes
Contents
# frozen_string_literal: false require 'bundler/setup' Bundler.setup require 'simplecov' SimpleCov.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.configure do |c| c.flags_dir = $tmp_flags_dir c.clear = true end end config.after(:suite) do ::FileUtils.rm_rf('tmp') if ::Dir.exist?('tmp') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
usps_flags-0.4.1 | spec/spec_helper.rb |
usps_flags-0.4.0 | spec/spec_helper.rb |