Sha256: 2bc311690b43e014d0a2e2b5cd9d2be08cdc222396cf52060b3d6d7a33274d03

Contents?: true

Size: 407 Bytes

Versions: 7

Compression:

Stored size: 407 Bytes

Contents

require "spec_helper"

describe WildcardMatchers::Matchers::HashIncludes do
  [ [ [ 1, 2, 3 ], :bag_of, 3, 2, 1 ],
    [ [ 1, 2, 3 ], :bag_of, 1, 2, 3 ],
  ].each do |actual, matcher, *args|
    it_behaves_like "wildcard match", actual, matcher, *args
  end

  [ [ [ 1, 2, 3 ], :bag_of, 1, 2 ],
  ].each do |actual, matcher, *args|
    it_behaves_like "not wildcard match", actual, matcher, *args
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wildcard_matchers-0.9.2 spec/wildcard_matchers/matchers/bag_spec.rb
wildcard_matchers-0.9.1 spec/wildcard_matchers/matchers/bag_spec.rb
wildcard_matchers-0.9.0 spec/wildcard_matchers/matchers/bag_spec.rb
wildcard_matchers-0.4.0 spec/wildcard_matchers/matchers/bag_spec.rb
wildcard_matchers-0.3.1 spec/wildcard_matchers/matchers/bag_spec.rb
wildcard_matchers-0.3.0 spec/wildcard_matchers/matchers/bag_spec.rb
wildcard_matchers-0.2.1 spec/wildcard_matchers/matchers/bag_spec.rb