Skip to content

Commit b81799b

Browse files
committed
Sinatra 4 update: Update logger call
1 parent be5754f commit b81799b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/unit/controllers/base/base_controller_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def self.translate_validation_exception(_error, _attrs)
9696
end
9797

9898
it 'logs a debug message' do
99-
expect(logger).to receive(:debug).with('cc.dispatch', endpoint: :test_endpoint, args: [])
99+
expect(logger).to receive(:debug).with('cc.dispatch endpoint=test_endpoint args=[]')
100100
get '/test_endpoint'
101101
end
102102
end

0 commit comments

Comments
 (0)