diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2013-12-07 16:32:38 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2013-12-07 16:32:38 -0800 |
commit | 99975e742eb2636cd814f2c9de21f4bd3c3dbbc7 (patch) | |
tree | 5d177ccb109ab88f4a659f5afdd3712497f207e0 /actionpack/test/controller | |
parent | a16fa9abfd0b34026b04f4ceeb0b75e63609a74a (diff) | |
download | rails-99975e742eb2636cd814f2c9de21f4bd3c3dbbc7.tar.gz rails-99975e742eb2636cd814f2c9de21f4bd3c3dbbc7.tar.bz2 rails-99975e742eb2636cd814f2c9de21f4bd3c3dbbc7.zip |
Variants can be declared without a block to signify their presence in the controller
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/mime/respond_to_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/mime/respond_to_test.rb b/actionpack/test/controller/mime/respond_to_test.rb index cd93043360..c258bbec06 100644 --- a/actionpack/test/controller/mime/respond_to_test.rb +++ b/actionpack/test/controller/mime/respond_to_test.rb @@ -170,7 +170,7 @@ class RespondToController < ActionController::Base respond_to do |format| format.html do |variant| variant.phone { render text: "phone" } - variant.none { render text: "none" } + variant.none end end end |