[rspec-users] Strange issue with the 'its' construct
Tom Ten Thij
lists at ruby-forum.com
Thu May 20 20:53:04 EDT 2010
David Chelimsky wrote:
> Please file a bug at https://rspec.lighthouseapp.com/projects/5645-rspec
> if there's not one already.
I was unable to find one, so I created this:
https://rspec.lighthouseapp.com/projects/5645-rspec/tickets/998-explicit-subject-block-in-a-controller-spec-returns-the-controller-instead-of-the-subject-defined-in-the-example-group
Another finding is that this only occurs when running the file from
spec/controllers, it's fine when run from spec/models. Details are on
the ticket.
Thanks, Tom
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list