diff --git a/README.md b/README.md index d7e176a8..19040728 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ Up-to-date documentation at: https://easypost.com/docs ```bash # Run tests -bundle exec rspec +API_KEY=123... bundle exec rspec ``` ## Releasing diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 63a480de..90d2366b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -5,7 +5,7 @@ RSpec.configure do |config| config.before(:each) do - EasyPost.api_key = 'BmvaWhg8mP26QXWdTplYWA' + EasyPost.api_key = ENV['API_KEY'] end config.around(:each) do |example|