Sha256: 119ee5599270b410195da23b465203f2c6f6dbf601dc961e316643b33c36616b
Contents?: true
Size: 660 Bytes
Versions: 2
Compression:
Stored size: 660 Bytes
Contents
require 'rubygems' require 'spec' require 'mocha' class TestError < StandardError; end $:.unshift(File.dirname(__FILE__) + '/../lib') $:.unshift(File.dirname(__FILE__)) ENV["ETAPPER_USERNAME"] = 'etapper_johntest' ENV["ETAPPER_PASSWORD"] = 'mypass' require 'etapper' require 'stub_driver' if ENV["ETAPPER_LIVE"] == 'true' then Spec::TEST_LIVE = true Spec::TEST_URL = Etapper::ETAP_URL else Spec::TEST_LIVE = false Spec::TEST_URL = '### ORIGINAL URL ###' end # Take our toys out of the toybox def client Etapper.client end Spec::Runner.configure do |config| config.mock_with :mocha config.include(MockDriver) unless Spec::TEST_LIVE end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
etapper-0.0.1 | spec/spec_helper.rb |
etapper-0.0.0 | spec/spec_helper.rb |