Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require 'spec/rails/story_adapter' dir = File.dirname(__FILE__) Dir[File.expand_path("#{dir}/steps/*.rb")].uniq.each do |file| require file end def run_local_story(filename, options={}) run File.join(File.dirname(__FILE__), filename), options end
This paste will be private.
From the Design Piracy series on my blog: