generate controller -S is creating obsolete controllers
Reported by Phlip | March 30th, 2008 @ 12:32 PM | in 1.0 (Nearish Future)
The -S option still creates this:
Merb::Controller.new @in.req, @in.env,{:controller => 'Test', :action => 'foo'}, @res
The modern controllers seem to use only an options hash.
Also, the generator spews forth no mock_request.rb file. That would seem to be the core of controller testing - mocking the server so you don't need to crawl thru a real one just to test! I had to scrape it off of Google Codesearch...
Here's some ASCII Art, to help us recover from this ticket:
#\ #.:#
#\ #.:# ^^^^^
#\ #.:# }OvO{
##.:# {| |}
#..# \| |/
#..# \ _ /
#..# | |
#..#>=======d=b=======
#..#
Comments and changes to this ticket
-
Michael Klishin (antares) May 11th, 2008 @ 07:49 AM
- → Milestone changed from to 1.0 (Nearish Future)
- → State changed from new to open
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
