From 77d9546b8fce7405a37e9b7be4d6e426a27d3394 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 2 Mar 2024 22:39:30 +0100 Subject: [PATCH] Fix `BootstrapHelper` specs --- spec/helpers/bootstrap_helper_spec.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/spec/helpers/bootstrap_helper_spec.rb b/spec/helpers/bootstrap_helper_spec.rb index 2f335560..3f10d733 100644 --- a/spec/helpers/bootstrap_helper_spec.rb +++ b/spec/helpers/bootstrap_helper_spec.rb @@ -103,14 +103,8 @@ describe BootstrapHelper, type: :helper do @user = FactoryBot.create(:user) travel 10.minutes - expect(time_tooltip(@user)).to eq("10 minutes") + expect(time_tooltip(@user)).to eq("10m") end end end - - describe "#hidespan" do - it "should return the proper markup" do - expect(hidespan("Hidden Text", "d-none")).to eq("Hidden Text") - end - end end