Displaying 2 results from an estimated 2 matches for "found_behaviour".
2007 May 24
25
Specs for ApplicationController, where to put them?
The Rails ApplicationController (app/controllers/application.rb)
serves as an abstract superclass for all other controllers in a Rails
application and is a good place to put methods and filters which you
want all of your controllers to use. In my case I''m using it to
provide methods such as "current_user" and "logged_in?" etc.
By default, RSpec
2007 May 10
12
shared descriptions -- a couple of issues
Hello All,
I''ve just upgraded to rspec/rspec_on_rails 0.9.3 and am very excited
about shared descriptions. They couldn''t have come at a better time: I
just finished refactoring some REST controllers so that the bulk of
the actions are inherited from a superclass. Now I can write the
specs once, too. :)
I''ve hit a couple of snags, though. I thought I''d