Sha256: 27255c667c4ee3e7f7698608f1f2be82816c3b67f65d2ca9d51acdb9cef4a283

Contents?: true

Size: 915 Bytes

Versions: 4

Compression:

Stored size: 915 Bytes

Contents

rspec_filter 'and_call_original' do
  # any_instance related
  filter 'and_call_original on a partial double when using any_instance works for instance methods defined on the class'
  filter 'and_call_original on a partial double when using any_instance works for instance methods defined on the superclass of the class'
  filter 'and_call_original on a partial double when using any_instance works when mocking the method on one class and calling the method on an instance of a subclass'
  filter 'and_call_original on a partial double on an object that defines method_missing works for an any_instance partial mock'
  filter 'and_call_original on a partial double on an object that defines method_missing raises an error for an unhandled message for an any_instance partial mock'

  # SimpleDelegator
  filter 'and_call_original on a partial double for singleton methods works for SimpleDelegator subclasses'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
opal-rspec-0.6.2 spec/rspec/mocks/filter/bugs/and_call_original.rb
opal-rspec-0.6.1 spec/rspec/mocks/filter/bugs/and_call_original.rb
opal-rspec-0.6.0 spec/rspec/mocks/filter/bugs/and_call_original.rb
opal-rspec-0.6.0.beta1 spec/rspec/mocks/filter/bugs/and_call_original.rb