Sha256: b8cffd0bcef23233aa6d062aafecf72d7868674762b8a806b36bb293ff0222f9

Contents?: true

Size: 560 Bytes

Versions: 12

Compression:

Stored size: 560 Bytes

Contents

require 'rspec'
require 'webmock/rspec'
require 'vcr'

require 'datapimp'

ENV['TESTING'] = "1"

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

module Datapimp
  def self.spec_root
    Pathname(File.dirname(__FILE__))
  end

  def self.dummy_path
    spec_root.join("dummy")
  end

  def self.fixtures_path
    spec_root.join("support","fixtures")
  end
end

RSpec.configure do |config|
  config.mock_with :rspec
end

VCR.configure do |config|
  config.cassette_library_dir = "spec/fixtures/cassettes"
  config.hook_into :webmock
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
datapimp-1.2.11 spec/spec_helper.rb
datapimp-1.2.10 spec/spec_helper.rb
datapimp-1.2.9 spec/spec_helper.rb
datapimp-1.2.8 spec/spec_helper.rb
datapimp-1.2.7 spec/spec_helper.rb
datapimp-1.2.6 spec/spec_helper.rb
datapimp-1.2.5 spec/spec_helper.rb
datapimp-1.2.4 spec/spec_helper.rb
datapimp-1.2.3 spec/spec_helper.rb
datapimp-1.2.2 spec/spec_helper.rb
datapimp-1.2.1 spec/spec_helper.rb
datapimp-1.2.0 spec/spec_helper.rb