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
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users