aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-12-09 20:46:32 -0600
committerJoshua Peek <josh@joshpeek.com>2009-12-09 20:46:32 -0600
commitec5434c3c2631bb47b568eede397c3bd596eeb88 (patch)
tree55f7f9c4e41590e587535d23498a610290bcecee /actionpack/test
parentb2ef6d13f0a0b3d07b8a2f9a1ec64988ba7e4392 (diff)
downloadrails-ec5434c3c2631bb47b568eede397c3bd596eeb88.tar.gz
rails-ec5434c3c2631bb47b568eede397c3bd596eeb88.tar.bz2
rails-ec5434c3c2631bb47b568eede397c3bd596eeb88.zip
Check block arity passed to routes draw so you don't need to use
|map|
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/dispatch/routing_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb
index 01088e9d8f..22ef48b668 100644
--- a/actionpack/test/dispatch/routing_test.rb
+++ b/actionpack/test/dispatch/routing_test.rb
@@ -14,7 +14,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
stub_controllers do |routes|
Routes = routes
- Routes.draw do |map|
+ Routes.draw do
controller :sessions do
get 'login', :to => :new, :as => :login
post 'login', :to => :create