Skip to content

Commit a3b7139

Browse files
committed
these don't fail on Opal 0.9 master anymore
1 parent 2595201 commit a3b7139

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/rspec/mocks/filter/bugs/any_instance.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
rspec_filter filter '#any_instance' do
22
filter '#any_instance when used after the test has finished restores the original behaviour, even if the expectation fails'
33
filter '#any_instance when used after the test has finished restores the original behavior of a stubbed method'
4-
filter '#any_instance when directed at a method defined on a superclass mocks the method correctly'
4+
filter('#any_instance when directed at a method defined on a superclass mocks the method correctly').unless { at_least_opal_0_9? }
55
filter '#any_instance when resetting post-verification existing method with stubbing private methods restores a stubbed private method after the spec is run'
66
filter '#any_instance when resetting post-verification existing method with expectations private methods restores a stubbed private method after the spec is run'
77
filter '#any_instance passing the receiver to the implementation block when configured to pass the instance an any instance stub does not pass the instance to and_call_original'
8-
filter '#any_instance setting a message expectation with an expectation is set on a method that exists after any one instance has received a message fails if the method is invoked on a second instance'
9-
filter "#any_instance setting a message expectation with an expectation is set on a method which does not exist behaves as 'exactly one instance' fails if the method is invoked on a second instance"
8+
filter('#any_instance setting a message expectation with an expectation is set on a method that exists after any one instance has received a message fails if the method is invoked on a second instance').unless { at_least_opal_0_9? }
9+
filter("#any_instance setting a message expectation with an expectation is set on a method which does not exist behaves as 'exactly one instance' fails if the method is invoked on a second instance").unless { at_least_opal_0_9? }
1010
filter('#any_instance setting a message expectation works with a SimpleDelegator subclass').unless { at_least_opal_0_9? }
1111
filter "#any_instance when stubbing behaves as 'every instance' handles freeze and duplication correctly"
1212
filter "#any_instance when stubbing behaves as 'every instance' handles method restoration on subclasses"

0 commit comments

Comments
 (0)