Sha256: 1ccdc09dccffc20d5a85e5a66c501bf0ee6b3635014c9974f8e58eef65cf1f51

Contents?: true

Size: 734 Bytes

Versions: 3

Compression:

Stored size: 734 Bytes

Contents

# depends on private methods
An instance double with the doubled class loaded gives a descriptive error message for NoMethodError
An instance double with the doubled class loaded for null objects reports that it responds to protected methods when the appropriate arg is passed
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
An instance double with the doubled class loaded for null objects includes the double's name in a private method error

# arity, Opal can't tell the difference between send(*) and send() right now
An instance double with the doubled class loaded allows `send` to be stubbed if it is defined on the class

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
opal-connect-rspec-0.5.0 spec/rspec/mocks/filter/unsupported/instance_double_with_class_loaded.txt
opal-rspec-0.5.0 spec/rspec/mocks/filter/unsupported/instance_double_with_class_loaded.txt
opal-rspec-0.5.0.beta3 spec/rspec/mocks/filter/unsupported/instance_double_with_class_loaded.txt