Sha256: 8fd3fac70bb1110099a6ce0e36fff8880c4b087f7e1e0a7c7deba6e1070fe8bf

Contents?: true

Size: 561 Bytes

Versions: 12

Compression:

Stored size: 561 Bytes

Contents

require 'bundler/setup'
Bundler.setup
require 'simplecov'
SimpleCov.start

require 'usps_flags'
require 'usps_flags/grades'

# The spec for USPSFlags::Grades contains an example that checks for
# USPSFlags::Errors::InvalidGrade
RSpec::Expectations.configuration.on_potential_false_positives = :nothing

RSpec.configure do |config|
  config.before(:suite) do
    $tmp_flags_dir = "tmp/flags"

    USPSFlags.configure 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

12 entries across 12 versions & 1 rubygems

Version Path
usps_flags-grades-0.0.12 spec/spec_helper.rb
usps_flags-grades-0.0.11 spec/spec_helper.rb
usps_flags-grades-0.0.10 spec/spec_helper.rb
usps_flags-grades-0.0.9 spec/spec_helper.rb
usps_flags-grades-0.0.8 spec/spec_helper.rb
usps_flags-grades-0.0.7 spec/spec_helper.rb
usps_flags-grades-0.0.6 spec/spec_helper.rb
usps_flags-grades-0.0.5 spec/spec_helper.rb
usps_flags-grades-0.0.4 spec/spec_helper.rb
usps_flags-grades-0.0.3 spec/spec_helper.rb
usps_flags-grades-0.0.2 spec/spec_helper.rb
usps_flags-grades-0.0.1 spec/spec_helper.rb