Sha256: 415863548dd573906a7e73445ec39bde964ca87cbe7c3460e121c6f32bebdabf
Contents?: true
Size: 1.36 KB
Versions: 3
Compression:
Stored size: 1.36 KB
Contents
# This file was generated by the `rspec --init` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # Require this file using `require "spec_helper.rb"` to ensure that it is only # loaded once. # # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration require 'rubygems' require 'bundler/setup' require 'rspec/its' require 'date' # Needed for stamp require 'stamp' # Some reasons stamp doesn't load automatically? ENV['QT_KEYS'] ||= 'test_key_1,test_key_2' require 'support/vcr_loader' require 'support/coverage_loader' require 'quick_travel' # eager load to ensure coverage correct require 'quick_travel/config' qt_keys = ENV['QT_KEYS'].split(',') QuickTravel.configure do |c| c.url = 'http://test.qt.sealink.com.au:8080' c.access_key = qt_keys[0] end require 'quick_travel/connection_error' require 'quick_travel/cache' class HashCache def initialize @cache = {} end def read(name) @cache[name] end def write(name, value, _ = nil) @cache[name] = value end def clear @cache = {} end def delete(name) @cache.delete(name) end end QuickTravel::Cache.cache_store = HashCache.new QuickTravel::Cache.namespace = 'namespace' RSpec.configure do |config| config.raise_errors_for_deprecations! config.run_all_when_everything_filtered = true config.filter_run :focus end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
quicktravel_client-3.9.0 | spec/spec_helper.rb |
quicktravel_client-3.8.1 | spec/spec_helper.rb |
quicktravel_client-3.8.0 | spec/spec_helper.rb |