-
Hi, thank you for awesome module!
I have been trying to override a stubbed method provided by sinon-chrome with my implementation to simulate `chrome.runtime.lastError` set inside the method.
Is the…
-
In https://github.com/dwyl/aws-sdk-mock/pull/24 logic was introduced that forks the way a service method is mocked depending on whether or not a callback is provided.
The aws-sdk has always returned …
-
Hi there 👋
Thanks a lot for a really useful framework! It has saved me for a lot of boiler plate and maintenance in our test targets 🎉
I was wondering if it's possible to ignore methods and gett…
-
A double that is given a method `:x` should `respond_to?(:x)`
-
Using bogus I can stub a method on real object:
``` ruby
user = FactoryGirl.create(:user)
stub(user).friend?(5) { true }
```
And this works great! However, I would like to use contract tests in such…
-
# Versions
Godot: v4.2.2.stable.official [15073afe3]
# The Feature
`double(MyClass)` makes a class that extends like:
```mermaid
graph LR;
A --> B --> C --> D
A[Doubled …
-
That's the behaviour I'm experiencing, but I can't find anything about it in the docs other than this example http://docs.busterjs.org/en/latest/modules/buster-test/test-case/#setup-and-teardown, wher…
-
### Description
When i try to upgrade to Rails 7.1 from Rails 6.0, i get some errors in my specs, i found for some reason when i use build_stubbed in validations, it don't work properly.
###…
-
# Issue description
I'm trying to use a stubbed method in a cleanup method. This works if an assertion failed in the test, but not if the test succeeds.
# How to reproduce
```
class UseStubInCleanup…
-
Hello,
I didn’t find this information in the documentation, so how would I achieve that?
E.g. Makes sure that this passes:
```
verify(self._subscriber1, times=1).run('data')
verify(self._subs…