Sha256: b57f01ba8c92e529f6b5dad558b232a4401eda2f3ada669441e1f95937a917fa
Contents?: true
Size: 800 Bytes
Versions: 1
Compression:
Stored size: 800 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'vendor', 'gems', 'environment')) require File.join(File.dirname(__FILE__), '..', 'lib', '<%= name %>') require 'randexp' require 'rack/test' require 'webrat' #require 'dm-core' #require 'dm-sweatshop' require 'fakeweb' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
singem-0.0.5 | lib/generators/cucumber/templates/spec/spec_helper.rb.erb |