aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-03-19 15:19:10 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-03-19 15:19:10 -0300
commitaeb0391cc100b4ccddf3ffd1d87866f7e8a4f8e6 (patch)
tree7b0b546f2edc80f0ec7f935125231864403e5917
parent1e6afa40209ca15aee811bb5797c175c0d8eaad4 (diff)
parentc27b2df56156964668aa5f076d3f56b739dadb72 (diff)
downloadrails-aeb0391cc100b4ccddf3ffd1d87866f7e8a4f8e6.tar.gz
rails-aeb0391cc100b4ccddf3ffd1d87866f7e8a4f8e6.tar.bz2
rails-aeb0391cc100b4ccddf3ffd1d87866f7e8a4f8e6.zip
Merge pull request #19416 from akshay-vishnoi/test-correct
Fix test messages use directly true, false and nil instead of their symbol
-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"