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)