diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-09-07 22:15:07 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-09-08 19:28:00 +0200 |
commit | 36fcb776dda9a3dd0839febd0a4663320d1944db (patch) | |
tree | ba556b7fa813f2a5a573573d3841db8de26ce1bd /railties/test/application | |
parent | 6258f7c972f0dcf85916a0ac9ce3d34460201353 (diff) | |
download | rails-36fcb776dda9a3dd0839febd0a4663320d1944db.tar.gz rails-36fcb776dda9a3dd0839febd0a4663320d1944db.tar.bz2 rails-36fcb776dda9a3dd0839febd0a4663320d1944db.zip |
Fix warning by removing |map| from routes.draw
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/routing_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/routing_test.rb b/railties/test/application/routing_test.rb index d0c6cb51ca..b4ff14409f 100644 --- a/railties/test/application/routing_test.rb +++ b/railties/test/application/routing_test.rb @@ -203,7 +203,7 @@ module ApplicationTests assert_equal 'bar', last_response.body app_file 'config/routes.rb', <<-RUBY - AppTemplate::Application.routes.draw do |map| + AppTemplate::Application.routes.draw do match 'foo', :to => 'foo#baz' end RUBY |