On Sun, Aug 16, 2009 at 2:46 AM, Brandon
Olivares<[email protected]> wrote:
> Hi,
>
> I'm really sorry, never mind on the matcher. I guess I remembered
> incorrectly how to set the subject.
>
> Is:
>
> Subject { @game }
It's with a lowercase 's':
subject { @game }
But if you call the subject method without a block you get an instance
of Game (because that's passed to describe()). Check out
http://gist.github.com/168629
HTH,
David
>
> The best way to set it?
>
> Brandon
>
> --
> www.creatorspiritus.com
> Blog and forum discussing living a Christ-centered life
> Follow me on Twitter: http://twitter.com/devbanana
> Follow creatorspiritus.com on Twitter: http://twitter.com/creatorspiritus
>
>
>
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users