Sha256: 487be048ee2bc92f08e5dd80f445f97f2726c83dc16b554cd9aff1097fb8166a
Contents?: true
Size: 663 Bytes
Versions: 4
Compression:
Stored size: 663 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_sandbox' ENV["ETAPPER_PASSWORD"] = 'mypass1234' 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
etapper-0.0.5 | spec/spec_helper.rb |
etapper-0.0.4 | spec/spec_helper.rb |
etapper-0.0.3 | spec/spec_helper.rb |
etapper-0.0.2 | spec/spec_helper.rb |