Sha256: 3d3c194d1f7038047d4f0458dc9202f4f5db1853891a6cad928f30b82997bf5d
Contents?: true
Size: 608 Bytes
Versions: 4
Compression:
Stored size: 608 Bytes
Contents
require 'spec' require 'webrat' require 'rack/test' require File.dirname(__FILE__)+'/../../lib/<%= name %>' module <%= name.camelize %>::AppHelpers begin gem 'safariwatir', '~>0.3.3' require 'safariwatir' def browser @browser ||= Watir::Safari.new end rescue LoadError => e end def app_host 'http://localhost:9393/migration' end def app @app = Rack::Builder.new do run <%= name.camelize %>::App end end end World(Rack::Test::Methods) World(Webrat::Matchers) World(<%= name.camelize %>::AppHelpers) Before do # insert before filtery things here end
Version data entries
4 entries across 4 versions & 2 rubygems