From a7e116c7ecd9c62189729c4065d2e738bf251300 Mon Sep 17 00:00:00 2001 From: Splines Date: Thu, 2 May 2024 01:06:54 +0200 Subject: [PATCH] Freeze string assigned to constant (rubocop) --- spec/requests/media_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/media_spec.rb b/spec/requests/media_spec.rb index d3b4667b8..f01714268 100644 --- a/spec/requests/media_spec.rb +++ b/spec/requests/media_spec.rb @@ -1,6 +1,6 @@ require "rails_helper" -NO_HITS_MSG = "The search has not returned any hits" +NO_HITS_MSG = "The search has not returned any hits".freeze def expect_no_results(response) expect(response.body).to include(NO_HITS_MSG)