提交 61af34b0 编写于 作者: C Carlhuda

Make /rails/info/properties work again. Also, the mocked up tests were passing...

Make /rails/info/properties work again. Also, the mocked up tests were passing so we added a test that actually tested this functionality.
上级 83be262b
ActionController::Routing::Routes.draw do |map|
match '/rails/info/properties' => "rails::info#properties"
match '/rails/info/properties' => "rails/info#properties"
end
\ No newline at end of file
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册