Sha256: 4f103b1dc5f2c58da4554be92b6af22660324844fbd450ad13f8ecb729bb41a3

Contents?: true

Size: 571 Bytes

Versions: 3

Compression:

Stored size: 571 Bytes

Contents

rspec_filter 'double' do
  # private methods
  filter "RSpec::Mocks::Double does not respond_to? method_missing (because it's private)"

  # backtrace/line number
  filter /RSpec::Mocks::Double reports line number of expectation of unreceived message.*/

  # depends on eval
  filter 'RSpec::Mocks::Double fails when calling yielding method with invalid kw args'

  # throw not supported on Opal 0.8
  filter('RSpec::Mocks::Double throws when told to').unless { at_least_opal_0_9? }

  # private methods
  filter('RSpec::Mocks::Double has method_missing as private')
end

Version data entries

3 entries across 3 versions & 2 rubygems

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