Sha256: bb75632fbc65550bb204052fb169f3fbcbd0278b278362d1e31e181c17b63f08

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

require "bundler/setup"
Bundler.require(:default, :test)

require File.join(File.dirname(__FILE__), '..', 'lib', '<%= name %>')

Webrat.configure do |config|
  config.mode = :rack
  config.application_port = 4567
end

RSpec.configure do |config|
  config.include(Rack::Test::Methods)
  config.include(Webrat::Methods)
  config.include(Webrat::Matchers)

  config.before(:each) do
  end

  def app
    <%= name.camelize %>.app
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
singem-0.3.1 lib/generators/default/templates/spec/spec_helper.rb.erb