Sha256: 603d33b2ef68064020f99e9fd5dad42e99dc6a07a70794bb990306e65062716b

Contents?: true

Size: 148 Bytes

Versions: 1

Compression:

Stored size: 148 Bytes

Contents

RSpec::Matchers.define :be_an_array_of do |expected|
  match do |actual|
    actual.is_a?(Array) && actual.map(&:class).uniq == [expected]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dogerific-0.1.0 spec/support/enumerable_matchers.rb