replaced and with && as per coding guidelines

This commit is contained in:
Neeraj Singh
2011-06-10 02:27:57 -04:00
parent 49d032929b
commit fdbe8eb08c

View File

@@ -141,7 +141,7 @@ class PageCachingTest < ActionController::TestCase
[: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