From 1cecfc62a3f60d5a9a589173554047d3b3bb92b1 Mon Sep 17 00:00:00 2001 From: j-corry Date: Thu, 22 Aug 2024 10:09:14 +0100 Subject: [PATCH] - Test fix --- coverage/.last_run.json | 2 +- coverage/.resultset.json | 2 +- coverage/index.html | 2 +- spec/models/search_data_spec.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/coverage/.last_run.json b/coverage/.last_run.json index fbcf358..6d92375 100644 --- a/coverage/.last_run.json +++ b/coverage/.last_run.json @@ -1,5 +1,5 @@ { "result": { - "line": 83.02 + "line": 83.05 } } diff --git a/coverage/.resultset.json b/coverage/.resultset.json index 43e81f9..e272ffa 100644 --- a/coverage/.resultset.json +++ b/coverage/.resultset.json @@ -3659,6 +3659,6 @@ ] } }, - "timestamp": 1724317132 + "timestamp": 1724317741 } } diff --git a/coverage/index.html b/coverage/index.html index d9c4d90..0eea516 100644 --- a/coverage/index.html +++ b/coverage/index.html @@ -14,7 +14,7 @@ loading
-
Generated 2024-08-22T09:58:52+01:00
+
Generated 2024-08-22T10:09:01+01:00
diff --git a/spec/models/search_data_spec.rb b/spec/models/search_data_spec.rb index e1f7a9d..c1886f3 100644 --- a/spec/models/search_data_spec.rb +++ b/spec/models/search_data_spec.rb @@ -187,7 +187,7 @@ context 'where no sort is present' do it 'defaults to date descending' do - expect(search_data.sort).to be 'date_desc' + expect(search_data.sort).to eq('date_desc') end end end