Skip to content

Commit

Permalink
be_false is deprecated
Browse files Browse the repository at this point in the history
Use `be false` (for exact `== false` equality) instead.
  • Loading branch information
sferik committed Dec 30, 2013
1 parent a222d41 commit 8a1974d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/oauth2/client_spec.rb
Expand Up @@ -58,7 +58,7 @@

it "allows true/false for raise_errors option" do
client = OAuth2::Client.new('abc', 'def', :site => 'https://api.example.com', :raise_errors => false)
expect(client.options[:raise_errors]).to be_false
expect(client.options[:raise_errors]).to be false
client = OAuth2::Client.new('abc', 'def', :site => 'https://api.example.com', :raise_errors => true)
expect(client.options[:raise_errors]).to be true
end
Expand Down

0 comments on commit 8a1974d

Please sign in to comment.