spec/spec_helper.rb in usps_flags-0.3.6 vs spec/spec_helper.rb in usps_flags-0.3.7

- old
+ new

@@ -14,11 +14,11 @@ RSpec.configure do |config| config.before(:suite) do $tmp_flags_dir = "tmp/flags" $tmp_alt_flags_dir = "tmp/alt_flags" - USPSFlags::Config.new do |config| - config.flags_dir = $tmp_flags_dir + 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")