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

aslak hellesoy aslak.hellesoy at gmail.com
Mon Apr 9 16:46:16 EDT 2007


On 4/9/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
>
> 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?
>

To be safe, you should run "ruby script/generate rspec" after every svn update.
However, you'll be fine without running it unless there are changes to
the rspec generator.

Aslak

> 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
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list