Sha256: d63280e90f53f6e2ad9775532be0fe15e239fd260e7d0065d9784f2b0272e8b3

Contents?: true

Size: 427 Bytes

Versions: 2

Compression:

Stored size: 427 Bytes

Contents

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

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

module <%= name.camelize %>::AppHelpers
  def app
    <%= name.camelize %>.app
  end
end

World(Rack::Test::Methods)
World(Webrat::Matchers)
World(<%= name.camelize %>::AppHelpers)

Before do
  # insert before filtery things here
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
singem-0.0.7 lib/generators/cucumber/templates/features/support/env.rb.erb
singem-0.0.6 lib/generators/cucumber/templates/features/support/env.rb.erb