Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
describe InstitutionsController do describe "- route generation" do it "should map { :controller => 'institutions', :action => 'index' } to /institutions" do route_for(:controller => "institutions", :action => "index").should == "/institutions" end end describe "- route recognition" do it "should generate params { :controller => 'institutions', action => 'index' } from GET /institutions" do params_from(:get, "/institutions").should == {:controller => "institutions", :action => "index"} end end end
This paste will be private.
From the Design Piracy series on my blog: