From 7e414f6e47d99dbf4f247344cfaca21fa6ded4ec Mon Sep 17 00:00:00 2001 From: Jon M Date: Thu, 1 Aug 2024 13:19:08 +0100 Subject: [PATCH] Fix var ref --- test/errors_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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