Sha256: 133cb9524022bbde4035fa5dd2aaa5eec14122c9d4d214ac495edda0c10a0b60

Contents?: true

Size: 364 Bytes

Versions: 3

Compression:

Stored size: 364 Bytes

Contents

rspec_filter 'be_instance_of' do
  unless at_least_opal_0_9?
    # Maybe Numeric shouldn't == Fixnum but it does in Opal
    filter('expect(actual).to be_an_instance_of(expected) fails if actual is instance of subclass of expected class')
    filter('expect(actual).to be_instance_of(expected) fails if actual is instance of subclass of expected class')
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
opal-connect-rspec-0.5.0 spec/rspec/expectations/filter/bugs/be_instance_of.rb
opal-rspec-0.5.0 spec/rspec/expectations/filter/bugs/be_instance_of.rb
opal-rspec-0.5.0.beta3 spec/rspec/expectations/filter/bugs/be_instance_of.rb