Sha256: ed9bc9f79a9e9f49b45edf72cbeba7d9cf14f128c90789469d614e6df8fa077f

Contents?: true

Size: 443 Bytes

Versions: 4

Compression:

Stored size: 443 Bytes

Contents

Bundler.require(:default, :runtime, :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

4 entries across 4 versions & 1 rubygems

Version Path
singem-0.2.0 lib/generators/cucumber/templates/features/support/env.rb.erb
singem-0.1.2 lib/generators/cucumber/templates/features/support/env.rb.erb
singem-0.1.1 lib/generators/cucumber/templates/features/support/env.rb.erb
singem-0.1.0 lib/generators/cucumber/templates/features/support/env.rb.erb