[rspec-users] changes in 0.8 and greater - should_
aslak.hellesoy at gmail.com
Mon Apr 9 16:43:24 EDT 2007
On 4/9/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
> Has the should_... syntax changed? I'm getting errors when running
> the following:
Object now only gets monkeypatched with two methods: should and should_not.
should_anything_else will no longer work.
> I thought the syntax changed to something like the following:
> obj.should render(:index)
Syntactically, yes. But the API has changed too, so now you must say:
(rspec_on_rails/lib/spec/rails/matchers.rb RDoc) and
> but this doesn't seem to work.
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users