Sha256: 885e5d7e24370303875b307ca772150b835a0f6a013e0e1e6c1e14bdc9d8a5e9

Contents?: true

Size: 475 Bytes

Versions: 2

Compression:

Stored size: 475 Bytes

Contents

require 'vkontakte_api'
require 'pry'
require 'awesome_print'
require_relative './support/mechanized_authorization'

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

2 entries across 2 versions & 1 rubygems

Version Path
vkontakte_api-1.4.3 spec/spec_helper.rb
vkontakte_api-1.4.2 spec/spec_helper.rb