spec/monkey_patches.rb in aws-mfa-secure-0.3.0 vs spec/monkey_patches.rb in aws-mfa-secure-0.3.1

- old
+ new

@@ -1,9 +1,10 @@ AwsMfaSecure::Base # autoload module AwsMfaSecure class Base def session_creds_path - "#{Dir.pwd}/spec/fixtures/aws-mfa-secure-sessions/fake_credentials" + root = File.expand_path("../", __dir__) + "#{root}/spec/fixtures/aws-mfa-secure-sessions/fake_credentials" end def fetch_creds? false end