Sha256: 68679a60d32cf2eaf6bf3370e8cf1b2df76ad51ebbd4ce868170e3e4d67549cc

Contents?: true

Size: 750 Bytes

Versions: 7

Compression:

Stored size: 750 Bytes

Contents

require "bundler/setup"
require 'rspec'
require 'webmock/rspec'

$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')

require "mobilize_america_client"

RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure
  config.example_status_persistence_file_path = ".rspec_status"

  # Disable RSpec exposing methods globally on `Module` and `main`
  config.disable_monkey_patching!

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.include WebMock::API

  config.before :each do
    WebMock.reset!
  end

  config.after :each do
    WebMock.reset!
  end
end

def fixture_path
  File.expand_path("../fixtures", __FILE__)
end

def fixture(file)
  File.new(File.join(fixture_path, '/', file))
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mobilize-america-client-0.5.1 spec/spec_helper.rb
mobilize-america-client-0.5.0 spec/spec_helper.rb
mobilize-america-client-0.4.0 spec/spec_helper.rb
mobilize-america-client-0.3.6 spec/spec_helper.rb
mobilize-america-client-0.3.5 spec/spec_helper.rb
mobilize-america-client-0.3.4 spec/spec_helper.rb
mobilize-america-client-0.3.3 spec/spec_helper.rb