diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-08-10 06:36:39 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-08-10 06:36:39 +0900 |
commit | f006de5dc5a709f5dc8604ebd43f7741da30cd9f (patch) | |
tree | 94789c1c7f3c8e1c611a30548cd90ecbb34f98ea /actionpack/test/journey | |
parent | 67d0c9ee93100dbdcafd20b0632e5bef6735888e (diff) | |
download | rails-f006de5dc5a709f5dc8604ebd43f7741da30cd9f.tar.gz rails-f006de5dc5a709f5dc8604ebd43f7741da30cd9f.tar.bz2 rails-f006de5dc5a709f5dc8604ebd43f7741da30cd9f.zip |
Fix broken alignments caused by auto-correct commit 411ccbd
Hash syntax auto-correcting breaks alignments. 411ccbdab2608c62aabdb320d52cb02d446bb39c
Diffstat (limited to 'actionpack/test/journey')
-rw-r--r-- | actionpack/test/journey/route_test.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/actionpack/test/journey/route_test.rb b/actionpack/test/journey/route_test.rb index cce5c2ae37..886cf857e8 100644 --- a/actionpack/test/journey/route_test.rb +++ b/actionpack/test/journey/route_test.rb @@ -50,7 +50,8 @@ module ActionDispatch path = Path::Pattern.from_string "/:controller/*extra" route = Route.build("name", nil, path, {}, [], controller: "foo", action: "bar") - assert_equal "/foo/himom", route.format( controller: "foo", + assert_equal "/foo/himom", route.format( + controller: "foo", extra: "himom") end @@ -58,7 +59,8 @@ module ActionDispatch path = Path::Pattern.from_string "/:controller(/:action(/:id(.:format)))" route = Route.build("name", nil, path, {action: "bar"}, [], controller: "foo") - assert_equal "/foo/bar/10", route.format( controller: "foo", + assert_equal "/foo/bar/10", route.format( + controller: "foo", action: "bar", id: 10) end |