public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
regression test for bug introduced in 
[6a6b4392c16c665eb713705f2b38e959a658eeef] [Ian White] [#22 
state:resolved]
rick (author)
Mon May 05 23:42:52 -0700 2008
commit  37599d16f2374179ebf001aeb79ff121e3d67519
tree    eb9096f4acbeddc355ecde07bed3325d6a5302c7
parent  ee1d508a6bbdbfafb20516ebb4b452f1596f9ebe
...
167
168
169
 
 
 
 
 
 
 
 
 
 
 
 
 
170
171
...
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
0
@@ -167,4 +167,17 @@ class DefaultUrlOptionsTest < Test::Unit::TestCase
0
   ensure
0
     ActionController::Routing::Routes.load!
0
   end
0
+end
0
+
0
+class EnsureNamedRoutesWorksTicket22BugTest < Test::Unit::TestCase
0
+ def test_named_routes_still_work
0
+ ActionController::Routing::Routes.draw do |map|
0
+ map.resources :things
0
+ end
0
+ EmptyController.send :include, ActionController::UrlWriter
0
+
0
+ assert_equal '/things', EmptyController.new.send(:things_path)
0
+ ensure
0
+ ActionController::Routing::Routes.load!
0
+ end
0
 end
0
\ No newline at end of file

Comments

    No one has commented yet.