Sha256: 9bd2f4080e0eb3a380d60646d4e18d3e88631f283cc40b1350b9a0d8307bfe00

Contents?: true

Size: 889 Bytes

Versions: 4

Compression:

Stored size: 889 Bytes

Contents

rspec_filter 'instance_double_with_class_loaded' do
  # depends on private methods
  filter 'An instance double with the doubled class loaded gives a descriptive error message for NoMethodError'
  filter 'An instance double with the doubled class loaded for null objects reports that it responds to protected methods when the appropriate arg is passed'
  filter 'An instance double with the doubled class loaded for null objects reports that it responds to defined private methods when the appropriate arg is passed'
  filter "An instance double with the doubled class loaded for null objects includes the double's name in a private method error"

  # arity, Opal 0.9 can't tell the difference between send(*) and send() right now
  filter('An instance double with the doubled class loaded allows `send` to be stubbed if it is defined on the class').unless { arity_checking_working? }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
opal-rspec-0.6.2 spec/rspec/mocks/filter/unsupported/instance_double_with_class_loaded.rb
opal-rspec-0.6.1 spec/rspec/mocks/filter/unsupported/instance_double_with_class_loaded.rb
opal-rspec-0.6.0 spec/rspec/mocks/filter/unsupported/instance_double_with_class_loaded.rb
opal-rspec-0.6.0.beta1 spec/rspec/mocks/filter/unsupported/instance_double_with_class_loaded.rb