Sha256: 725e5e0874c40771006130355dd6ca636f5cffe8b32bcc53be9167d44085a710
Contents?: true
Size: 610 Bytes
Versions: 2
Compression:
Stored size: 610 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) #require 'spec' #require 'spec/autorun' require 'fakeweb' require 'gom-script' Spec::Runner.configure do |config| config.before :each do FakeWeb.register_uri( :get, "http://gom:345/gom/config/connection.txt", :body => "client_ip: 10.0.0.23" ) FakeWeb.register_uri( :get, "http://localhost:3000/gom/config/connection.txt", :body => "client_ip: 10.0.0.23" ) Gom::Remote.connection = nil # reset for every test end config.after :each do end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gom-script-0.2.2 | spec/spec_helper.rb |
gom-script-0.2.0 | spec/spec_helper.rb |