Sha256: 73b22085a5d60237d4df600b963dfaeb73a72dd24537f8369f88d37c56b7910d
Contents?: true
Size: 636 Bytes
Versions: 1
Compression:
Stored size: 636 Bytes
Contents
require 'aruba/cucumber' require File.expand_path(File.join(File.dirname(__FILE__), '../../spec/support/locale_app_integration_data')) World(LocaleAppIntegrationData) ENV['PATH'] = "#{File.expand_path(File.dirname(__FILE__) + '/../../bin')}#{File::PATH_SEPARATOR}#{ENV['PATH']}" module FakeWebHelper def add_fake_web_uri(method, uri, status, body, headers = {}) fakes = JSON.parse(ENV['FAKE_WEB_FAKES'] || '[]') fakes << { 'method' => method, 'uri' => uri, 'status' => status, 'body' => body, 'headers' => headers } ENV['FAKE_WEB_FAKES'] = fakes.to_json end end World(FakeWebHelper)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
localeapp-0.0.7 | features/support/env.rb |