From 5d635ae93a21fa043c1ee890e09975dc6261ff8e Mon Sep 17 00:00:00 2001 From: Kat Date: Tue, 12 Apr 2022 12:06:39 +0100 Subject: [PATCH] fix test --- spec/helpers/filters_helper_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/helpers/filters_helper_spec.rb b/spec/helpers/filters_helper_spec.rb index 4aad534cb..739b2e937 100644 --- a/spec/helpers/filters_helper_spec.rb +++ b/spec/helpers/filters_helper_spec.rb @@ -3,9 +3,9 @@ require "rails_helper" RSpec.describe FiltersHelper do describe "#filter_selected?" do context "when no filters are selected" do - it "returns true for all filters" do - expect(filter_selected?("status", "completed")).to be_truthy - expect(filter_selected?("status", "in_progress")).to be_truthy + it "returns false for all filters" do + expect(filter_selected?("status", "completed")).to be_falsey + expect(filter_selected?("status", "in_progress")).to be_falsey end end