fix deprecation warnings
This commit is contained in:
parent
4888c2c905
commit
f4cb24c4b4
|
@ -11,7 +11,7 @@ describe Travis::Config do
|
||||||
|
|
||||||
it 'returns endpoints if it is set' do
|
it 'returns endpoints if it is set' do
|
||||||
ENV['travis_config'] = YAML.dump('endpoints' => { 'ssh_key' => true })
|
ENV['travis_config'] = YAML.dump('endpoints' => { 'ssh_key' => true })
|
||||||
config.endpoints.ssh_key.should be_true
|
config.endpoints.ssh_key.should be_truthy
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'allows to set keys on enpoints when it is nil' do
|
it 'allows to set keys on enpoints when it is nil' do
|
||||||
|
@ -19,7 +19,7 @@ describe Travis::Config do
|
||||||
|
|
||||||
config.endpoints.foo = true
|
config.endpoints.foo = true
|
||||||
|
|
||||||
config.endpoints.foo.should be_true
|
config.endpoints.foo.should be_truthy
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user