search for: page72

Displaying 2 results from an estimated 2 matches for "page72".

Did you mean: page2
2006 Mar 25
6
Where''s the doc for get(), post(), put(), delete() & head()?
These HTTP Request methods are used for testing. They are discussed in the testing chapter of the Agile Web Development with Rails book, as well as in http://manuals.rubyonrails.com/read/chapter/28#page72 "A Guide to Testing the Rails". I want to set the encoding to multipart for a test I''m writing, but I can''t find any documentation to show me how. Pointing me to the source code for the methods would be just as good. I''ve looked all over, and spent a good...
2006 Jan 30
5
Functional tests and dealing with login before_filter
Hi all, I''m curious as to how you do functional testing on the controllers if, within the ApplicationController, I have a before_filter :authorize, :except => :login, where the private authorize method checks for session[:user]. I can''t do "post :login", because that method is in a different controller. I tried setting session[:user] directly in the setup