Sha256: 9ed54e5c29937fa2cb370d842d18a3931afa4a3773f05ddecc83714b695562c2

Contents?: true

Size: 748 Bytes

Versions: 3

Compression:

Stored size: 748 Bytes

Contents

rspec_filter 'argument_matchers' do
  # Fixnum == Float on Opal
  filter 'argument matchers matching handling non-matcher arguments fails a class against an object of a different type'
  filter('argument matchers matching instance_of handles non matching instances nicely').unless { at_least_opal_0_9? }
  filter('argument matchers matching instance_of does NOT accept float as instance_of(Numeric)').unless { at_least_opal_0_9? }
  filter('argument matchers matching instance_of does NOT accept fixnum as instance_of(Numeric)').unless { at_least_opal_0_9? }

  # symbols and strings are different to this example but they are the same in Opal
  filter 'argument matchers matching handling non-matcher arguments fails for a hash w/ wrong keys'
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
opal-connect-rspec-0.5.0 spec/rspec/mocks/filter/unsupported/argument_matchers.rb
opal-rspec-0.5.0 spec/rspec/mocks/filter/unsupported/argument_matchers.rb
opal-rspec-0.5.0.beta3 spec/rspec/mocks/filter/unsupported/argument_matchers.rb