noting my own typo
def negeative_failure_message
should be
def negative_failure_message
:)
On Sep 4, 2008, at 10:24 AM, Matt Wynne wrote:
Thanks David.
I really struggled to get that to catch anything. My colleague Dan
found this, which is working well for me:
http://rubyforge.org/pipermail/rspec-users/2007-May/001816.html
On 4 Sep 2008, at 15:05, David Chelimsky wrote:
On Thu, Sep 4, 2008 at 8:42 AM, Matt Wynne <[EMAIL PROTECTED]>
wrote:
I want to spec that a controller uses a particular layout
how do I do that?
Depends on what else is going on, but this is the simplest situation:
controller.expect_render(:layout => 'special_layout')
get :some_action
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users