require 'spec' require 'spec/mocks' require 'webrat' require 'rack/test' require 'dm-sweatshop' require 'pp' require File.dirname(__FILE__)+'/../../lib/<%= name %>' require File.dirname(__FILE__)+'/../../spec/helpers' World(Rack::Test::Methods) World(Spec::Mocks::ExampleMethods) World(Webrat::Methods) World(Webrat::Matchers) World(<%= name.camelize %>::AppHelpers) Before do DataMapper.setup(:default, "sqlite3://:memory:") DataMapper.auto_migrate! end