[rspec-users] Shoulda and explicit subject

ericindc ericmilford at gmail.com
Thu Jul 1 21:40:01 EDT 2010

I have a thread open on their group page as well, but the only
response received thus far seems to think it's an RSpec issue.  I am
having the same issue in my model tests as well.

On Jul 1, 3:23 pm, David Chelimsky <dchelim... at gmail.com> wrote:
> On Jun 30, 2010, at 12:00 PM, ericindc wrote:
> > I am trying to use Shoulda matchers with the latest beta version of
> > RSpec for Rails 3.  I've managed to track down the cause of my errors
> > to needing to explicitly set the subject, but the Shoulda examples
> > make no mention of requiring this step.  I've pastied the errors I'm
> > receiving and adding subject { controller } seems to resolve them.  Is
> > this behavior expected?
> >http://pastie.org/1020788
> Have you tried pinging the shoulda maintainers?
> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list