Skip to content

Commit

Permalink
fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
aserafin committed Sep 10, 2017
1 parent 7c3d7e2 commit d4cc3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/grape_logging/middleware/request_logger_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
it 'should log "fail" instead of a status' do
expect(Rack::MockResponse).to receive(:new) { nil }
expect(logger).to receive('info') do |arguments|
expect(arguments[:status]).to eq 'fail'
expect(arguments[:status]).to eq 500
end
subject
end
Expand Down

0 comments on commit d4cc3e2

Please sign in to comment.