Sha256: 18f1e953fdaaad8c2bac85b8efdb47d2e6b860b6d7943041077053719d16c375

Contents?: true

Size: 344 Bytes

Versions: 17

Compression:

Stored size: 344 Bytes

Contents

require "spec_helper"

describe WildcardMatchers::Helpers::NilOr do
  [ [ nil,   :nil_or, String ],
    [ "aaa", :nil_or, String ],
    [ nil,   :nil_or, :is_a_string ],
    [ "aaa", :nil_or, :is_a_string ],
  ].each do |actual, helper, matcher, *args|
    it_behaves_like "wildcard match with helper", actual, helper, matcher, *args
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
wildcard_matchers-0.9.2 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.9.1 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.9.0 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.4.0 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.3.1 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.3.0 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.2.1 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.2.0 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.1.8 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.1.7 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.1.6 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.1.5 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.1.4 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.1.3 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.1.2 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.1.1 spec/wildcard_matchers/helpers/nil_or_spec.rb
wildcard_matchers-0.1.0 spec/wildcard_matchers/helpers/nil_or_spec.rb