From da3498ac389b71a9186f040a3f7f077890b98274 Mon Sep 17 00:00:00 2001 From: stve Date: Mon, 9 Feb 2015 00:15:04 -0500 Subject: [PATCH] fix deprecations --- spec/instapaper/client/user_spec.rb | 6 +++--- spec/instapaper_spec.rb | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/instapaper/client/user_spec.rb b/spec/instapaper/client/user_spec.rb index a637bbe..3707382 100644 --- a/spec/instapaper/client/user_spec.rb +++ b/spec/instapaper/client/user_spec.rb @@ -22,14 +22,14 @@ describe Instapaper::Client::User do it "should return the a hash containing an oauth token and secret" do tokens = @client.access_token('ohai', 'p455w0rd') tokens.should be_a Hash - tokens.key?('oauth_token').should be_true - tokens.key?('oauth_token_secret').should be_true + tokens.key?('oauth_token').should be true + tokens.key?('oauth_token_secret').should be true end it "should return a hash containing the error on invalid credentials" do tokens = @client.access_token('inval1d', 'cr3dentials') tokens.should be_a Hash - tokens.key?('error').should be_true + tokens.key?('error').should be true end end diff --git a/spec/instapaper_spec.rb b/spec/instapaper_spec.rb index 7d7434f..8cb42e0 100644 --- a/spec/instapaper_spec.rb +++ b/spec/instapaper_spec.rb @@ -7,7 +7,7 @@ describe Instapaper do describe '.respond_to?' do it 'takes an optional include private argument' do - Instapaper.respond_to?(:client, true).should be_true + Instapaper.respond_to?(:client, true).should be true end end @@ -82,4 +82,4 @@ describe Instapaper do end end -end \ No newline at end of file +end