[rspec-users] [RSpec] problems with a rails controller spec using AASM

Andy Henson andy at elaptics.co.uk
Tue May 12 13:41:32 EDT 2009


Hi Matt,

You're a star! That was exactly it. I guess I should start pair programming :)

Thanks

2009/5/12 Matt Wynne <matt at mattwynne.net>:
>
> On 12 May 2009, at 17:59, Andy Henson wrote:
>
>> Job.find_by_jobno(
>
> needs to be stubbed all the time to return your job, or at least in the
> examples that are failing.
>
> Matt Wynne
> http://blog.mattwynne.net
> http://www.songkick.com
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list