Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Retrieving a missing request doesn't fail
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Oct 19, 2019
1 parent 657c273 commit dc5e339
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/recorder_test.rb
Expand Up @@ -25,4 +25,8 @@ class RecorderTest < ActiveSupport::TestCase

assert_equal "This is an extra line\nThis is another line\nThis is yet another line", @full_request_logger.retrieve("123")
end

test "retrieve missing request" do
assert_nil @full_request_logger.retrieve("not-there")
end
end

0 comments on commit dc5e339

Please sign in to comment.