Sha256: b103ade416f5b963508a6f538a07e29a01987ff59ba41826513e38d7867a7061
Contents?: true
Size: 635 Bytes
Versions: 33
Compression:
Stored size: 635 Bytes
Contents
require 'aruba/cucumber' require File.expand_path(File.join(File.dirname(__FILE__), '../../spec/support/localeapp_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
33 entries across 33 versions & 1 rubygems