mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
replaced and with && as per coding guidelines
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user