Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To avoid predicate from being called multiple times. This causes rspec-mocks failure: 1) Using a partial mock on a proxy object works properly Failure/Error: expect(proxy).to receive(:proxied?).and_return(false) (#<Object:0x00007fa5f658ad10>).proxied?(*(any args)) expected: 1 time with any arguments received: 3 times with any arguments # ./spec/rspec/mocks/partial_double_spec.rb:237:in `block (2 levels) in <module:Mocks
- Loading branch information