Skip to content

Commit 6bce590

Browse files
committed
Fix typo
1 parent 67ee1b9 commit 6bce590

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/caching_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ def assert_cached(cache_time, media_type = "text/html")
871871
if @response.respond_to?(:media_type)
872872
assert_equal media_type, @response.media_type
873873
else
874-
assert_equal media_type, @response.contenty_type
874+
assert_equal media_type, @response.content_type
875875
end
876876
end
877877

@@ -882,7 +882,7 @@ def assert_not_cached(cache_time, media_type = "text/html")
882882
if @response.respond_to?(:media_type)
883883
assert_equal media_type, @response.media_type
884884
else
885-
assert_equal media_type, @response.contenty_type
885+
assert_equal media_type, @response.content_type
886886
end
887887
end
888888

0 commit comments

Comments
 (0)