Created
March 21, 2014 21:21
-
-
Save elight/9696781 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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