diff --git a/test/errors_test.rb b/test/errors_test.rb index 39552cd..df51532 100644 --- a/test/errors_test.rb +++ b/test/errors_test.rb @@ -8,7 +8,7 @@ class ErrorsTest < Test::Unit::TestCase @api_key = ENV['MAILOSAUR_API_KEY'] @base_url = ENV['MAILOSAUR_BASE_URL'] - raise ArgumentError, 'Missing necessary environment variables - refer to README.md' if @@api_key.nil? + raise ArgumentError, 'Missing necessary environment variables - refer to README.md' if @api_key.nil? end should 'Unauthorized' do