Sha256: 9eab08784645e3391715eedc9e09f16ed1b93a2561a0de2480d84d89ad77d114

Contents?: true

Size: 898 Bytes

Versions: 3

Compression:

Stored size: 898 Bytes

Contents

rspec_filter 'contain_exactly' do
  # https://github.com/opal/opal/pull/1136 - operators and method missing issues with a_value > < etc
  filter /should_not =~ \[:with, :multiple, :args\] fails when the arrays match.*/
  unless at_least_opal_0_9?
    filter('should =~ array when the array undefines `=~` still works')
    filter('using contain_exactly with expect passes for an out of order valid positive expectation with hashes')
    filter('using contain_exactly with expect passes for an in order valid positive expectation with hashes')
  end
  filter('should =~ array when the array defines a `send` method still works')
  filter('should =~ array when the array defines a `=~` method delegates to that method rather than using the contain_exactly matcher')
  filter('should =~ array fails an invalid positive expectation')
  filter('should =~ array passes a valid positive expectation')
end

Version data entries

3 entries across 3 versions & 2 rubygems

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