aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/new_base/render_template_test.rb
diff options
context:
space:
mode:
authorAkshay Vishnoi <akshay.vishnoi@vinsol.com>2015-03-19 23:47:58 +0530
committerAkshay Vishnoi <akshay.vishnoi@vinsol.com>2015-03-19 23:47:58 +0530
commitc27b2df56156964668aa5f076d3f56b739dadb72 (patch)
tree7b0b546f2edc80f0ec7f935125231864403e5917 /actionpack/test/controller/new_base/render_template_test.rb
parent1e6afa40209ca15aee811bb5797c175c0d8eaad4 (diff)
downloadrails-c27b2df56156964668aa5f076d3f56b739dadb72.tar.gz
rails-c27b2df56156964668aa5f076d3f56b739dadb72.tar.bz2
rails-c27b2df56156964668aa5f076d3f56b739dadb72.zip
Fix test messages use directly true, false and nil instead of their symbol
Diffstat (limited to 'actionpack/test/controller/new_base/render_template_test.rb')
-rw-r--r--actionpack/test/controller/new_base/render_template_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/controller/new_base/render_template_test.rb b/actionpack/test/controller/new_base/render_template_test.rb
index 19fef718e7..b06ce5db40 100644
--- a/actionpack/test/controller/new_base/render_template_test.rb
+++ b/actionpack/test/controller/new_base/render_template_test.rb
@@ -186,21 +186,21 @@ module RenderTemplate
end
end
- test "rendering with layout => :true" do
+ test "rendering with layout => true" do
get "/render_template/with_layout/with_layout"
assert_body "Hello from basic.html.erb, I'm here!"
assert_status 200
end
- test "rendering with layout => :false" do
+ test "rendering with layout => false" do
get "/render_template/with_layout/with_layout_false"
assert_body "Hello from basic.html.erb"
assert_status 200
end
- test "rendering with layout => :nil" do
+ test "rendering with layout => nil" do
get "/render_template/with_layout/with_layout_nil"
assert_body "Hello from basic.html.erb"