Sha256: 3744f4e5974d533ba3cf15c6c3fa61f5962520e74eb3d6ee2e3295486d09612f

Contents?: true

Size: 324 Bytes

Versions: 9

Compression:

Stored size: 324 Bytes

Contents

require 'vkontakte_api'
require 'pry'

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

9 entries across 9 versions & 1 rubygems

Version Path
vkontakte_api-1.1 spec/spec_helper.rb
vkontakte_api-1.0.4 spec/spec_helper.rb
vkontakte_api-1.0.3 spec/spec_helper.rb
vkontakte_api-1.0.2 spec/spec_helper.rb
vkontakte_api-1.0.1 spec/spec_helper.rb
vkontakte_api-1.0 spec/spec_helper.rb
vkontakte_api-1.0.rc3 spec/spec_helper.rb
vkontakte_api-1.0.rc2 spec/spec_helper.rb
vkontakte_api-1.0.rc spec/spec_helper.rb