diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-20 00:14:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 06:14:50 +0100 |
commit | 5116347eb7cfd0a09f55efbd84f8d3fa11d4d6ba (patch) | |
tree | 02fd0ac43ec43ccb974e4e370f6aeedf223b7d95 /spec/services/fetch_oembed_service_spec.rb | |
parent | bf785df9fe044f2f13bfb93e6860a74084d8eb8a (diff) |
Autofix Rubocop RSpec/BeEq (#23740)
Diffstat (limited to 'spec/services/fetch_oembed_service_spec.rb')
-rw-r--r-- | spec/services/fetch_oembed_service_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/services/fetch_oembed_service_spec.rb b/spec/services/fetch_oembed_service_spec.rb index cf46f2d39..8a0b49222 100644 --- a/spec/services/fetch_oembed_service_spec.rb +++ b/spec/services/fetch_oembed_service_spec.rb @@ -62,7 +62,7 @@ describe FetchOEmbedService, type: :service do it 'does not cache OEmbed endpoint' do subject.call('https://host.test/oembed.html', format: :xml) - expect(Rails.cache.exist?('oembed_endpoint:host.test')).to eq false + expect(Rails.cache.exist?('oembed_endpoint:host.test')).to be false end end @@ -83,7 +83,7 @@ describe FetchOEmbedService, type: :service do it 'does not cache OEmbed endpoint' do subject.call('https://host.test/oembed.html') - expect(Rails.cache.exist?('oembed_endpoint:host.test')).to eq false + expect(Rails.cache.exist?('oembed_endpoint:host.test')).to be false end end @@ -104,7 +104,7 @@ describe FetchOEmbedService, type: :service do it 'does not cache OEmbed endpoint' do subject.call('https://host.test/oembed.html') - expect(Rails.cache.exist?('oembed_endpoint:host.test')).to eq false + expect(Rails.cache.exist?('oembed_endpoint:host.test')).to be false end end |