Skip to content

Commit 9b4aeac

Browse files
committed
Fix typo and tidy up in authorization_spec
1 parent 846c404 commit 9b4aeac

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/bitbucket_rest_api/authorization_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,28 @@
1616
end
1717

1818
describe '#authenticated?' do
19-
context 'context: oauth authentication' do
20-
it 'should return true of oauth is used' do
19+
context 'oauth authentication' do
20+
it 'should return true if oauth is used' do
2121
expect(oauth_api.authenticated?).to eq(true)
2222
end
2323
end
2424

25-
context 'context: basic authentication' do
25+
context 'basic authentication' do
2626
it 'should return true if basic authentication is used' do
2727
expect(basic_auth_api.authenticated?).to eq(true)
2828
end
2929
end
3030
end
3131

3232
describe '#basic_authed?' do
33-
context 'context: with basic_auth' do
33+
context 'with basic_auth' do
3434
it 'should return true if basic_auth is set' do
3535
expect(basic_auth_api.basic_authed?).to eq(true)
3636
expect(basic_auth_api_hash.basic_authed?).to eq(true)
3737
end
3838
end
3939

40-
context 'context: with login and password' do
40+
context 'with login and password' do
4141
it 'should return true if a login and password are set' do
4242
expect(login_and_password_api.basic_authed?).to eq(true)
4343
end

0 commit comments

Comments
 (0)