Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

replaced and with && as per coding guidelines

  • Loading branch information...
commit fdbe8eb08cd227cc57315134e4e253818ccf1b67 1 parent 49d0329
@neerajdotname neerajdotname authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/test/controller/caching_test.rb
View
2  actionpack/test/controller/caching_test.rb
@@ -141,7 +141,7 @@ def test_should_cache_ok_at_custom_path
[:ok, :no_content, :found, :not_found].each do |status|
[:get, :post, :put, :delete].each do |method|
- unless method == :get and status == :ok
+ unless method == :get && status == :ok
define_method "test_shouldnt_cache_#{method}_with_#{status}_status" do
send(method, status)
assert_response status
Please sign in to comment.
Something went wrong with that request. Please try again.