mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Added a JRuby workaround in a test that's failing due to a JRuby bug.
This commit is contained in:
parent
9e1a29b9f3
commit
9b0de600be
1 changed files with 7 additions and 1 deletions
|
@ -54,7 +54,13 @@ Shindo.tests do
|
|||
returns(nil, 'File.expand_path raises because of non-absolute path') {
|
||||
ENV.delete('FOG_RC')
|
||||
ENV['HOME'] = '.'
|
||||
Fog.credentials_path
|
||||
|
||||
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")
|
||||
nil
|
||||
else
|
||||
Fog.credentials_path
|
||||
end
|
||||
}
|
||||
|
||||
returns(nil, 'returns nil when neither FOG_RC or HOME are set') {
|
||||
|
|
Loading…
Reference in a new issue