Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
Wrap text
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
context "when doing something to an item" do setup do @item = MyItem.new end specify "should mark the item as denied" do @item.deny @item.denied.should be_true end specify "should save the item automagically" do @item.should_receive(:save) @item.deny end end
Pasted November 19, 2008 5:00PM EDT
Embed
paste again