-
I searched around, but couldn't find a way to do it. Something like:
```
1 example, 0 failures, 3 assertions
```
In [this question](http://stackoverflow.com/questions/6137874/show-number-of-as…
-
If you configure a Rails application to use the karafka queue adapter as described in https://karafka.io/docs/Active-Job/, then when writing rspec tests that use the [have_enqueued_job matcher](https:…
-
## What Ruby, Rails and RSpec versions are you using?
Ruby version: 2.7.1
Rails version: 5.2.4.3
RSpec version: rspec-rails (4.0.1)
## Observed behaviour
I write a channel rspec like this: …
-
I was running into a problem with rspec's redirect_to matcher in my controller specs. If a controller was redirecting to a url that only exists in a subdomain, redirect_to would fail because it ignore…
-
The rspec_matchers need to be updated to not use failure_message_for_should_not and failure_message_for_should -- these are deprecated.
-
I'm locking to 2.14 for now, need to upgrade when we get a chance.
-
Reference: https://github.com/rspec/rspec-expectations#identity
## Actual behavior
I have the following spec:
```ruby
# frozen_string_literal: true
require 'rails_helper'
RSpec.describ…
-
https://thoughtbot.com/blog/validating-json-schemas-with-an-rspec-matcher - is much more faster than json-matchers gem.
But it's not supporting Draft-07 specification.
Needs research how to do th…
-
In the new version of rspec `spec_helper` has been split into two, and you should now require `rails_helper` instead in the top of all specs.
Also, in the spec below, you should call `.as_json` on `…
-
### Subject of the issue
When using an `instance_double` of a class that defines an instance method that takes keyword arguments, then using `allow` or `expect` to stub that method in the verifying d…