Sha256: adea7097cdb92866e191fb83c25f8eb89c0f04b24acfbe74d908254f754253f2

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

require 'omniauth'
require 'omniauth-stagebloc'

RSpec::Matchers.define :have_info do |field, value|
  match do |actual|
    actual.info[field] == value
  end
  failure_message do |actual|
    "expected '#{field}' to equal #{value} but received #{actual.info.fetch(field, 'nil')}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omniauth-stagebloc-0.1.0 spec/spec_helper.rb