Sha256: 2320debf0557a436740a4547ef687637db0a867f917abae2bc4ae1457cb0375f

Contents?: true

Size: 450 Bytes

Versions: 12

Compression:

Stored size: 450 Bytes

Contents

ENV['RACK_ENV'] = 'test'

require File.join(File.dirname(__FILE__), '..', '..', 'lib/<%= @gen.wormname %>.rb')

require 'capybara'
require 'capybara/cucumber'
require 'rspec'
require 'cucumber/api_steps'

Capybara.app = <%= @gen.camelname %>

class <%= @gen.camelname %>World
  include Capybara::DSL
  include RSpec::Expectations
  include RSpec::Matchers

  def app
    <%= @gen.camelname %>
  end
end

World do
  <%= @gen.camelname %>World.new
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
skellington-0.4.0 lib/templates/features/support/env.rb.eruby
skellington-0.3.6 lib/templates/features/support/env.rb.eruby
skellington-0.3.5 lib/templates/features/support/env.rb.eruby
skellington-0.3.4 lib/templates/features/support/env.rb.eruby
skellington-0.3.3 lib/templates/features/support/env.rb.eruby
skellington-0.3.2 lib/templates/features/support/env.rb.eruby
skellington-0.3.1 lib/templates/features/support/env.rb.eruby
skellington-0.3.0 lib/templates/features/support/env.rb.eruby
skellington-0.2.2 lib/templates/features/support/env.rb.eruby
skellington-0.2.1 lib/templates/features/support/env.rb.eruby
skellington-0.2.0 lib/templates/features/support/env.rb.eruby
skellington-0.1.4 lib/templates/features/support/env.rb.eruby