Sha256: 0c7e686cfd827d93196d12f34718fd1edb701016d507f83f03825d612a474abb

Contents?: true

Size: 440 Bytes

Versions: 5

Compression:

Stored size: 440 Bytes

Contents

$:.unshift(File.join(File.dirname(__FILE__), "../../lib"))
ENV['RACK_ENV'] = 'test'
require "wally"
require "fileutils"
require "capybara/cucumber"
require "rspec"
require "fakefs/spec_helpers"

Capybara.app = Sinatra::Application

After do
  Wally::Feature.delete_all
end

def create_feature path, content
  feature = Wally::Feature.new
  feature.path = path
  feature.gherkin = Wally::ParsesFeatures.new.parse(content)
  feature.save
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wally-0.0.33 features/support/env.rb
wally-0.0.32 features/support/env.rb
wally-0.0.31 features/support/env.rb
wally-0.0.30 features/support/env.rb
wally-0.0.29 features/support/env.rb