You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that we had a false positive in our project (at least i think it's a false positive): There is a object with an enum state with the value pending. In our test we are querying all pending transations. I would expect that the spec does not consider this as an issue.
it 'approves the transaction' do
expect do
request
end.to change(Transaction.pending, :count).from(1).to(0)
The text was updated successfully, but these errors were encountered:
sihu
changed the title
False positive for RSpec/Pending in 2.16.0 when object has a method pending
False positive for RSpec/PendingWithoutReason in 2.16.0 when object has a method pending
Jan 12, 2023
Hi rubocop-rspec team,
I noticed that we had a false positive in our project (at least i think it's a false positive): There is a object with an enum
state
with the valuepending
. In our test we are querying all pending transations. I would expect that the spec does not consider this as an issue.(Ruby 2.7.7, rubocop 1.43.0, rubocop-ast 1.24.1, rubocop-rspec 2.16.0)
The text was updated successfully, but these errors were encountered: