Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
it "should call display with an object" do dispatch_to(YourController, :your_action, { :id => "funky" }) do |c| c.should_receive(:display).with({ :id => "funky" }) end end def your_action display params end
This paste will be private.
From the Design Piracy series on my blog: