Sha256: f88c52b9e6647a927e815e915f1bf419213a9180dbdf30d0d03a03e18d771879

Contents?: true

Size: 446 Bytes

Versions: 4

Compression:

Stored size: 446 Bytes

Contents

ENV['RACK_ENV'] = 'test'

require File.join(File.dirname(__FILE__), '..', '..', 'lib/<%= @gen.path %>.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

4 entries across 4 versions & 1 rubygems

Version Path
skellington-0.1.3 lib/templates/features/support/env.rb.eruby
skellington-0.1.2 lib/templates/features/support/env.rb.eruby
skellington-0.1.1 lib/templates/features/support/env.rb.eruby
skellington-0.1.0 lib/templates/features/support/env.rb.eruby