We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b428f commit 574ddf9Copy full SHA for 574ddf9
spec/bitbucket_rest_api/validations/token_spec.rb
@@ -5,12 +5,12 @@
5
6
describe ".validates_token_for" do
7
it 'returns false if authentication token is not required' do
8
- token.validates_token_for(:get, '/anotherpath').should be false
+ expect(token.validates_token_for(:get, '/anotherpath')).to be false
9
end
10
11
it 'returns true if authentication token is required' do
12
- token.validates_token_for(:get, '/user').should be true
13
- token.validates_token_for(:get, '/repos/a/b/comments').should be true
+ expect(token.validates_token_for(:get, '/user')).to be true
+ expect(token.validates_token_for(:get, '/repos/a/b/comments')).to be true
14
15
16
0 commit comments