Sha256: ca2e306eebc8efd57b2466012acf53a2c3b2d236c1ca238ec4cc16049ae88d6a

Contents?: true

Size: 816 Bytes

Versions: 4

Compression:

Stored size: 816 Bytes

Contents

# Were running tests?
RSPEC_RUNNING = true

require 'simplecov'
SimpleCov.start do
  add_filter 'spec'
end

require File.join('bundler', 'setup')
require 'rspec'
require 'vcr'
require 'apcera-stager-api'

root_path = File.join(Gem::Specification.find_by_name("apcera-stager-api").gem_dir, "spec")

VCR.configure do |c|
  c.cassette_library_dir = File.join(root_path, 'fixtures/cassettes')
  c.hook_into :webmock
  c.default_cassette_options = { :match_requests_on => [:path], :record => :new_episodes, :erb => true, :serialize_with => :yaml }
end

RSpec.configure do |config|
  # Use color in STDOUT
  config.color_enabled = true

  # Use color not only in STDOUT but also in pagers and files
  config.tty = true

  # Use the specified formatter
  config.formatter = :documentation # :progress, :html, :textmate
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
apcera-stager-api-0.3.2 spec/spec_helper.rb
apcera-stager-api-0.3.1 spec/spec_helper.rb
apcera-stager-api-0.3.0 spec/spec_helper.rb
apcera-stager-api-0.2.5 spec/spec_helper.rb