Skip to content

Commit

Permalink
Use #headers instead of header
Browse files Browse the repository at this point in the history
  • Loading branch information
chubchenko committed Oct 29, 2024
1 parent 9445064 commit a3a6933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/warden/manager_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def authenticate!
result = @app.call(env_with_params)
expect(result.status).to eq(201)
expect(result.body).to eq(['body'])
expect(result.header['Content-Type']).to eq('text/plain')
expect(result.headers['Content-Type']).to eq('text/plain')
end
end

Expand Down

0 comments on commit a3a6933

Please sign in to comment.