List Question
20 TechQA 2023-09-08T07:08:52.290000Rspec stubbing a constant set to a Rails credential
111 views
Asked by Paul Pettengill
RSpec any_args matcher failing with wrong number of arguments?
196 views
Asked by Malcolm O'Hare
How to best use rspec mocks when using rails mailer parameterization
772 views
Asked by Andrew
Replace instance method with rspec-mock
543 views
Asked by Code-Apprentice
Stubbing a module, its methods, and inner classes with RSpec
953 views
Asked by fp.monkey
How can I allow a superclass method to return something else?
120 views
Asked by ddavison
Expect mock result to receive method
1.5k views
Asked by Jaffa
Proper way to mock ruby-core classes
156 views
Asked by zhisme
How do I test whether a Sidekiq worker is sending the right data to an external API?
1.2k views
Asked by Erik Jacobs
How to check that a method has called another method with RSpec
2.4k views
Asked by user1022788
Rspec : Declaring a variable that will be created into the method as record
201 views
Asked by Matt Flow
How to unit test a method not invoking another object method in RSpec
595 views
Asked by thebenman
Verifying rspec mocks before the test is over
717 views
Asked by onlynone
How to use sorbet type checking with RSpec mocks?
3.6k views
Asked by Rahil Shah
How can I stub out a global function called from a constructor?
599 views
Asked by Evan Kroske
RSpec: use `receive ... exactly ... with ... and_return ...` with different `with` arguments
1.6k views
Asked by mdesantis
Dependency Injection causing both Rspec failure and IRB failure
150 views
Asked by Bart_Judge
How to spy just one call of ActiveSupport::Notifications #instrument, not all of them
1k views
Asked by Caio Salgado
How can I supress warning "removing `initialize' may cause serious problems" in rspec?
844 views
Asked by Leticia Esperon
Rspec-mocks doesn't raise the exception
2.3k views
Asked by Yann PRONO