Sha256: f7f460906207ec6a0bab6aa9b611b509288b8574005c3340c1b1197c0fc0a641
Contents?: true
Size: 671 Bytes
Versions: 5
Compression:
Stored size: 671 Bytes
Contents
Bundler.require(:default, :runtime, :test) require File.join(File.dirname(__FILE__), '..', 'lib', '<%= name %>') #require 'dm-core' #require 'dm-sweatshop' require 'pp' FakeWeb.allow_net_connect = false #require File.dirname(__FILE__)+'/fixtures' #DataMapper.setup(:default, 'sqlite3::memory:') Webrat.configure do |config| config.mode = :rack config.application_port = 4567 end Spec::Runner.configure do |config| config.include(Rack::Test::Methods) config.include(Webrat::Methods) config.include(Webrat::Matchers) config.before(:each) do #DataMapper.auto_migrate! FakeWeb.clean_registry end def app <%= name.camelize %>.app end end
Version data entries
5 entries across 5 versions & 1 rubygems