Sha256: ad4b51fc95c67cb8650c2c5e540224f233eebc4a82dc427768af66d6cfdebbdd

Contents?: true

Size: 504 Bytes

Versions: 3

Compression:

Stored size: 504 Bytes

Contents

require 'rubygems'
require 'spec'
require 'fake_web'

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.dirname(__FILE__), '..', 'lib')

require 'daywalker'

FakeWeb.allow_net_connect = false

Spec::Runner.configure do |config|
end

def fixture_path_for(response)
  File.join File.dirname(__FILE__), 'fixtures', response
end

def register_uri_with_response(uri, response)
  FakeWeb.register_uri("http://services.sunlightlabs.com/api/#{uri}", :response => fixture_path_for(response))
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
technicalpickles-daywalker-0.1.0 spec/spec_helper.rb
technicalpickles-daywalker-0.1.1 spec/spec_helper.rb
technicalpickles-daywalker-0.1.2 spec/spec_helper.rb