From f4cb24c4b47c8015fe770a10ba771fd3ae393bc2 Mon Sep 17 00:00:00 2001 From: bnferguson Date: Mon, 1 Aug 2016 12:01:34 +0200 Subject: [PATCH] fix deprecation warnings --- spec/lib/travis/config_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/lib/travis/config_spec.rb b/spec/lib/travis/config_spec.rb index f0989e2d..d3f31d9c 100644 --- a/spec/lib/travis/config_spec.rb +++ b/spec/lib/travis/config_spec.rb @@ -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