aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/actionpack/abstract
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-14 13:47:14 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-14 13:47:14 -0300
commit548cb1cf7b7a6590cab9cbe28f8677c30c9c6871 (patch)
tree1eb7d97c006773b8370230d8815dbea9d03cb68c /actionview/test/actionpack/abstract
parent7bcd66e44942013729e9f6a6f6c771b1d8c7095d (diff)
downloadrails-548cb1cf7b7a6590cab9cbe28f8677c30c9c6871.tar.gz
rails-548cb1cf7b7a6590cab9cbe28f8677c30c9c6871.tar.bz2
rails-548cb1cf7b7a6590cab9cbe28f8677c30c9c6871.zip
Following documentation guideline
Diffstat (limited to 'actionview/test/actionpack/abstract')
-rw-r--r--actionview/test/actionpack/abstract/abstract_controller_test.rb7
1 files changed, 3 insertions, 4 deletions
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)