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