Sha256: c728c7000b7f914938d57b563dd0ab48cc707428e2bfb76e5b945993f4187818

Contents?: true

Size: 394 Bytes

Versions: 8

Compression:

Stored size: 394 Bytes

Contents

require 'wialon_api'
require 'pry'

RSpec.configure do |config|
  config.raise_errors_for_deprecations!
end

RSpec::Matchers.define :log_requests do
  match do |logger|
    logger.log_requests?
  end
end

RSpec::Matchers.define :log_errors do
  match do |logger|
    logger.log_errors?
  end
end

RSpec::Matchers.define :log_responses do
  match do |logger|
    logger.log_responses?
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wialon_api-0.0.8 spec/spec_helper.rb
wialon_api-0.0.7 spec/spec_helper.rb
wialon_api-0.0.6 spec/spec_helper.rb
wialon_api-0.0.5 spec/spec_helper.rb
wialon_api-0.0.4 spec/spec_helper.rb
wialon_api-0.0.3 spec/spec_helper.rb
wialon_api-0.0.2 spec/spec_helper.rb
wialon_api-0.0.1 spec/spec_helper.rb