Sha256: e0589678f5625284293a9fa6f3165dbf2c3d2904268d5e717cdec293a9256e14
Contents?: true
Size: 722 Bytes
Versions: 1
Compression:
Stored size: 722 Bytes
Contents
require 'rubygems' require 'rspec' require 'fakeweb' require 'rr' $:.unshift "#{File.dirname(__FILE__)}/../lib" require 'satisfaction' RSpec.configure do |config| config.mock_with(:rr) config.before(:each) do @app_host = 'app.gsfn:3000' @api_host = 'api.gsfn:3001' @sfn = Satisfaction.new( :root => "http://#{@api_host}", :autoload => false, :request_token_url => "http://#{@app_host}/api/request_token", :access_token_url => "http://#{@app_host}/api/access_token", :authorize_url => "http://#{@app_host}/api/authorize" ) FakeWeb.allow_net_connect = false end config.after(:each) do FakeWeb.clean_registry FakeWeb.allow_net_connect = true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-satisfaction-0.7.5 | spec/spec_helper.rb |