mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-03-25 08:55:47 +00:00
fix specs
This commit is contained in:
parent
7c3d7e2b70
commit
d4cc3e2946
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ describe GrapeLogging::Middleware::RequestLogger do
|
||||||
it 'should log "fail" instead of a status' do
|
it 'should log "fail" instead of a status' do
|
||||||
expect(Rack::MockResponse).to receive(:new) { nil }
|
expect(Rack::MockResponse).to receive(:new) { nil }
|
||||||
expect(logger).to receive('info') do |arguments|
|
expect(logger).to receive('info') do |arguments|
|
||||||
expect(arguments[:status]).to eq 'fail'
|
expect(arguments[:status]).to eq 500
|
||||||
end
|
end
|
||||||
subject
|
subject
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue