From 548cb1cf7b7a6590cab9cbe28f8677c30c9c6871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Wed, 14 May 2014 13:47:14 -0300 Subject: Following documentation guideline --- actionview/test/actionpack/abstract/abstract_controller_test.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'actionview/test/actionpack/abstract') diff --git a/actionview/test/actionpack/abstract/abstract_controller_test.rb b/actionview/test/actionpack/abstract/abstract_controller_test.rb index 8a97b70901..e653b12d32 100644 --- a/actionview/test/actionpack/abstract/abstract_controller_test.rb +++ b/actionview/test/actionpack/abstract/abstract_controller_test.rb @@ -155,7 +155,6 @@ module AbstractController include ActionView::Rendering append_view_path File.expand_path(File.join(File.dirname(__FILE__), "views")) - def index render end @@ -170,13 +169,13 @@ module AbstractController end class OverridingLocalPrefixesTest < ActiveSupport::TestCase # TODO: remove me in 5.0/4.3. - test "overriding ::local_prefixes adds prefix" do + test "overriding .local_prefixes adds prefix" do @controller = OverridingLocalPrefixes.new @controller.process(:index) assert_equal "Hello from me3/index.erb", @controller.response_body end - test "::local_prefixes is inherited" do + test ".local_prefixes is inherited" do @controller = OverridingLocalPrefixes::Inheriting.new @controller.process(:index) assert_equal "Hello from me3/index.erb", @controller.response_body @@ -190,7 +189,7 @@ module AbstractController end class DeprecatedParentPrefixesTest < ActiveSupport::TestCase # TODO: remove me in 5.0/4.3. - test "overriding ::parent_prefixes is deprecated" do + test "overriding .parent_prefixes is deprecated" do @controller = DeprecatedParentPrefixes.new assert_deprecated do @controller.process(:index) -- cgit v1.2.3