Permalink
Browse files

Make /rails/info/properties work again. Also, the mocked up tests wer…

…e passing so we added a test that actually tested this functionality.
  • Loading branch information...
1 parent 83be262 commit 61af34b001b295af36c346d245a65d74de0e1f97 Carlhuda committed Dec 24, 2009
Showing with 6 additions and 1 deletion.
  1. +1 −1 railties/builtin/routes.rb
  2. +5 −0 railties/test/application/routing_test.rb
View
2 railties/builtin/routes.rb
@@ -1,3 +1,3 @@
ActionController::Routing::Routes.draw do |map|
- match '/rails/info/properties' => "rails::info#properties"
+ match '/rails/info/properties' => "rails/info#properties"
end
View
5 railties/test/application/routing_test.rb
@@ -19,6 +19,11 @@ def app
end
end
+ test "rails/info/properties" do
+ get "/rails/info/properties"
+ assert_equal 200, last_response.status
+ end
+
test "simple controller" do
controller :foo, <<-RUBY
class FooController < ActionController::Base

0 comments on commit 61af34b

Please sign in to comment.