spec/spec_helper.rb in shipcloud-0.4.0 vs spec/spec_helper.rb in shipcloud-0.5.0

- old
+ new

@@ -1,6 +1,12 @@ $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib")) require 'shipcloud' require 'rspec' require "webmock/rspec" -require "pry" \ No newline at end of file +require "pry" + +RSpec.configure do |config| + config.after(:each) do + Shipcloud.api_key = nil + end +end