[rspec-users] changes in 0.8 and greater - should_

Scott Taylor mailing_lists at railsnewbie.com
Mon Apr 9 16:26:11 EDT 2007


If I have rspec & rspec on rails checked out from trunk in my rails  
project, should I copy the spec & spec_server utilities into the  
script/ directory of my rails project (and run the generator) every  
time I run svn update?

Scott



On Apr 9, 2007, at 4:07 PM, Scott Taylor wrote:

>
> Has the should_... syntax changed?  I'm getting errors when running
> the following:
>
> should_render(:index)
> should_be_valid
> should_not_be_valid
> should_respond_to
> should_be
> should_render
>
> I  thought the syntax changed to something like the following:
>
> obj.should render(:index)
>
> but this doesn't seem to work.
>
> Scott
>
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users



More information about the rspec-users mailing list