From ed7d1510594f4555cf41cd3cce965c07e4aaa91c Mon Sep 17 00:00:00 2001
From: Kat <54268893+kosiakkatrina@users.noreply.github.com>
Date: Tue, 26 Nov 2024 12:07:21 +0000
Subject: [PATCH] Update test
---
spec/helpers/tag_helper_spec.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/spec/helpers/tag_helper_spec.rb b/spec/helpers/tag_helper_spec.rb
index 231323278..1a6c75724 100644
--- a/spec/helpers/tag_helper_spec.rb
+++ b/spec/helpers/tag_helper_spec.rb
@@ -10,8 +10,8 @@ RSpec.describe TagHelper do
end
it "returns tag with correct status text and colour and custom class" do
- expect(status_tag("not_started", "app-tag--small")).to eq("Not started")
- expect(status_tag("cannot_start_yet", "app-tag--small")).to eq("Cannot start yet")
+ expect(status_tag("not_started", "app-tag--small")).to eq("Not started")
+ expect(status_tag("cannot_start_yet", "app-tag--small")).to eq(nil)
expect(status_tag("in_progress", "app-tag--small")).to eq("In progress")
expect(status_tag("completed", "app-tag--small")).to eq("Completed")
expect(status_tag("active", "app-tag--small")).to eq("Active")