Bundler.require(:default, :runtime, :test) require File.join(File.dirname(__FILE__), '..', '..', 'lib', '<%= name %>') Webrat.configure do |config| config.mode = :rack config.application_port = 4567 end module <%= name.camelize %>::AppHelpers def app <%= name.camelize %>.app end end World(Rack::Test::Methods) World(Webrat::Matchers) World(<%= name.camelize %>::AppHelpers) Before do # insert before filtery things here end