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:
parent
83be262b4b
commit
61af34b001
2 changed files with 6 additions and 1 deletions
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue