[rspec-users] 'its' not working
Andrew Premdas
apremdas at gmail.com
Wed Jul 21 11:09:31 EDT 2010
trying out new syntax from jon larkowski's rspec presentation. Following
doesn't work in that when I run the line from the command prompt or from
textmate no specs are run
context "cancel" do
subject do
order = at_dropshipping
order.cancel_dropship!
order
end
its(:status) { should == 'waiting_for_shipping' } # doesn't work
end
spec --version rspec 1.3.0
tia
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20100721/487af017/attachment.html>
More information about the rspec-users
mailing list