Sha256: 5249db2d4f75a7a121dd7e62ecd4a633ea7c24a2038f6052f6e2cae6bf0d87e6

Contents?: true

Size: 429 Bytes

Versions: 5

Compression:

Stored size: 429 Bytes

Contents

ENV['RACK_ENV'] = 'test'

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

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

Capybara.app = <%= camel_name %>

class <%= camel_name %>World
  include Capybara::DSL
  include RSpec::Expectations
  include RSpec::Matchers

  def app
    <%= camel_name %>
  end
end

World do
  <%= camel_name %>World.new
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
skellington-0.0.7 lib/templates/features/support/env.rb.eruby
skellington-0.0.6 lib/templates/features/support/env.rb.eruby
skellington-0.0.5 lib/templates/features/support/env.rb.eruby
skellington-0.0.4 lib/templates/features/support/env.rb.eruby
skellington-0.0.2 lib/templates/features/support/env.rb.eruby