Autofix Rubocop RSpec/BeEq (#23740)

This commit is contained in:
Nick Schonning authored and GitHub committed 2023-02-20 06:14:50 +01:00
1 parent bf785df9fe
commit 5116347eb7
39 files changed
+139 -182

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ describe FeedInsertWorker do
allow(FeedManager).to receive(:instance).and_return(instance)
result = subject.perform(nil, follower.id)
expect(result).to eq true
expect(result).to be true
expect(instance).to_not have_received(:push_to_home)
end
@@ -24,7 +24,7 @@ describe FeedInsertWorker do
allow(FeedManager).to receive(:instance).and_return(instance)
result = subject.perform(status.id, nil)
expect(result).to eq true
expect(result).to be true
expect(instance).to_not have_received(:push_to_home)
end
end