Sha256: 6ef806bfb511e99afeff10e7bb2b1003af2923c62b1f749df78479314138e350

Contents?: true

Size: 147 Bytes

Versions: 5

Compression:

Stored size: 147 Bytes

Contents

RSpec::Matchers.define :be_an_array_of do |expected|
  match do |actual|
    Array === actual and actual.all? { |e| expected === e }
  end
end    

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tryphon-pige-client-1.0.3 spec/support/array_matchers.rb
tryphon-pige-client-1.0.2 spec/support/array_matchers.rb
tryphon-pige-client-1.0.1 spec/support/array_matchers.rb
tryphon-pige-client-1.0 spec/support/array_matchers.rb
tryphon-pige-client-0.0.3 spec/support/array_matchers.rb