1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Make /rails/info/properties work again. Also, the mocked up tests were passing so we added a test that actually tested this functionality.

This commit is contained in:
Carlhuda 2009-12-23 16:26:10 -08:00
parent 83be262b4b
commit 61af34b001
2 changed files with 6 additions and 1 deletions

View file

@ -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 file

@ -19,6 +19,11 @@ module ApplicationTests
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