Skip to content

Instantly share code, notes, and snippets.

@elight
Created March 21, 2014 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elight/9696781 to your computer and use it in GitHub Desktop.
Save elight/9696781 to your computer and use it in GitHub Desktop.
it "File.expand_path raises because of non-absolute path" do
ENV.delete('FOG_RC')
ENV['HOME'] = '.'
if RUBY_PLATFORM == 'java'
Fog::Logger.warning("Stubbing out non-absolute path credentials test due to JRuby bug: https://github.com/jruby/jruby/issues/1163")
else
Fog.credentials_path
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment