Skip to content

Commit

Permalink
Fixed Layout/MultilineMethodCallIndentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbrodie committed Apr 29, 2024
1 parent 9efb6a4 commit b341e3c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/jira/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
.to_return(status: 200, body: '[]', headers: {})

stub_request(:get, 'https://localhost:2990/jira/rest/api/2/project')
.with(headers: { 'Authorization' => "Basic #{Base64.strict_encode64('foo:badpassword').chomp}" })
.with(headers: { 'Authorization' => "Basic #{Base64.strict_encode64('foo:badpassword').chomp}" })
.to_return(status: 401, headers: {})
end

Expand Down Expand Up @@ -245,8 +245,8 @@

before do
stub_request(:get, 'https://localhost:2990/jira/rest/api/2/project')
.with(headers: { 'Authorization' => /JWT .+/ })
.to_return(status: 200, body: '[]', headers: {})
.with(headers: { 'Authorization' => /JWT .+/ })
.to_return(status: 200, body: '[]', headers: {})
end

include_examples 'Client Common Tests'
Expand All @@ -261,8 +261,8 @@
context 'with a incorrect jwt key' do
before do
stub_request(:get, 'https://localhost:2990/jira/rest/api/2/project')
.with(headers: { 'Authorization' => /JWT .+/ })
.to_return(status: 401, body: '[]', headers: {})
.with(headers: { 'Authorization' => /JWT .+/ })
.to_return(status: 401, body: '[]', headers: {})
end

it 'is not authenticated' do
Expand Down

0 comments on commit b341e3c

Please sign in to comment.