aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorRicardo Díaz <ricardotk002@gmail.com>2019-02-26 14:04:08 -0500
committerRicardo Díaz <ricardotk002@gmail.com>2019-02-26 14:04:08 -0500
commitf06e14696522f5f6ad2741c5b5aea7c40cae5416 (patch)
tree5cc192005dc97a1038667d25b45cb46b50ce46b3 /actionpack
parentd333d85254d27cd572e6ecce8ee850c107a4f340 (diff)
downloadrails-f06e14696522f5f6ad2741c5b5aea7c40cae5416.tar.gz
rails-f06e14696522f5f6ad2741c5b5aea7c40cae5416.tar.bz2
rails-f06e14696522f5f6ad2741c5b5aea7c40cae5416.zip
Fix code examples' indentation in ActionDispatch::Routing [ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/routing.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/routing.rb b/actionpack/lib/action_dispatch/routing.rb
index f832719f19..d78b1c4f71 100644
--- a/actionpack/lib/action_dispatch/routing.rb
+++ b/actionpack/lib/action_dispatch/routing.rb
@@ -210,8 +210,8 @@ module ActionDispatch
# === +assert_routing+
#
# def test_movie_route_properly_splits
- # opts = {controller: "plugin", action: "checkout", id: "2"}
- # assert_routing "plugin/checkout/2", opts
+ # opts = {controller: "plugin", action: "checkout", id: "2"}
+ # assert_routing "plugin/checkout/2", opts
# end
#
# +assert_routing+ lets you test whether or not the route properly resolves into options.
@@ -219,8 +219,8 @@ module ActionDispatch
# === +assert_recognizes+
#
# def test_route_has_options
- # opts = {controller: "plugin", action: "show", id: "12"}
- # assert_recognizes opts, "/plugins/show/12"
+ # opts = {controller: "plugin", action: "show", id: "12"}
+ # assert_recognizes opts, "/plugins/show/12"
# end
#
# Note the subtle difference between the two: +assert_routing+ tests that