fix deprecation warnings

This commit is contained in:
bnferguson 2016-08-01 12:01:34 +02:00
parent 4888c2c905
commit f4cb24c4b4

View File

@ -11,7 +11,7 @@ describe Travis::Config do
it 'returns endpoints if it is set' do
ENV['travis_config'] = YAML.dump('endpoints' => { 'ssh_key' => true })
config.endpoints.ssh_key.should be_true
config.endpoints.ssh_key.should be_truthy
end
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.should be_true
config.endpoints.foo.should be_truthy
end
end