Sha256: be6161f9762ef32b793f1715f2e073ed33a3a1043653d8cf5f30dce0c41fc27e

Contents?: true

Size: 481 Bytes

Versions: 15

Compression:

Stored size: 481 Bytes

Contents

# frozen_string_literal: false

require 'bundler/setup'
Bundler.setup
require 'simplecov'
SimpleCov.start
SimpleCov.minimum_coverage(100)

require 'usps_flags'

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

15 entries across 15 versions & 1 rubygems

Version Path
usps_flags-0.6.4 spec/spec_helper.rb
usps_flags-0.6.3 spec/spec_helper.rb
usps_flags-0.6.2 spec/spec_helper.rb
usps_flags-0.6.1 spec/spec_helper.rb
usps_flags-0.6.0 spec/spec_helper.rb
usps_flags-0.5.9 spec/spec_helper.rb
usps_flags-0.5.8 spec/spec_helper.rb
usps_flags-0.5.7 spec/spec_helper.rb
usps_flags-0.5.6 spec/spec_helper.rb
usps_flags-0.5.5 spec/spec_helper.rb
usps_flags-0.5.4 spec/spec_helper.rb
usps_flags-0.5.3 spec/spec_helper.rb
usps_flags-0.5.2 spec/spec_helper.rb
usps_flags-0.5.1 spec/spec_helper.rb
usps_flags-0.5.0 spec/spec_helper.rb