mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix code examples' indentation in ActionDispatch::Routing [ci skip]
This commit is contained in:
parent
d333d85254
commit
f06e146965
1 changed files with 4 additions and 4 deletions
|
@ -210,8 +210,8 @@ module ActionDispatch
|
||||||
# === +assert_routing+
|
# === +assert_routing+
|
||||||
#
|
#
|
||||||
# def test_movie_route_properly_splits
|
# def test_movie_route_properly_splits
|
||||||
# opts = {controller: "plugin", action: "checkout", id: "2"}
|
# opts = {controller: "plugin", action: "checkout", id: "2"}
|
||||||
# assert_routing "plugin/checkout/2", opts
|
# assert_routing "plugin/checkout/2", opts
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# +assert_routing+ lets you test whether or not the route properly resolves into options.
|
# +assert_routing+ lets you test whether or not the route properly resolves into options.
|
||||||
|
@ -219,8 +219,8 @@ module ActionDispatch
|
||||||
# === +assert_recognizes+
|
# === +assert_recognizes+
|
||||||
#
|
#
|
||||||
# def test_route_has_options
|
# def test_route_has_options
|
||||||
# opts = {controller: "plugin", action: "show", id: "12"}
|
# opts = {controller: "plugin", action: "show", id: "12"}
|
||||||
# assert_recognizes opts, "/plugins/show/12"
|
# assert_recognizes opts, "/plugins/show/12"
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# Note the subtle difference between the two: +assert_routing+ tests that
|
# Note the subtle difference between the two: +assert_routing+ tests that
|
||||||
|
|
Loading…
Reference in a new issue