diff --git a/test/test_helper.rb b/test/test_helper.rb index bb585280..f8f4f4e4 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -64,18 +64,6 @@ class ActiveSupport::TestCase end end -class Kamal::Secrets::Adapters::Test < Kamal::Secrets::Adapters::Base - def login(account) - "MYSESSION" - end - - def fetch_from_vault(secrets, account:, session:) - raise "No Session" unless session == "MYSESSION" - raise "Boom!" if ENV["BOOM"] - secrets.to_h { |name| [ name, name.reverse ] } - end -end - class SecretAdapterTestCase < ActiveSupport::TestCase setup do `true` # Ensure $? is 0