From d58df1771f6dc1fd8eba3d03db3efbcd7d3f6441 Mon Sep 17 00:00:00 2001 From: JG Date: Tue, 7 Jun 2022 11:05:06 +0100 Subject: [PATCH] better test name --- spec/helpers/item_label_helper_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/helpers/item_label_helper_spec.rb b/spec/helpers/item_label_helper_spec.rb index 244b552c2..c98029a11 100644 --- a/spec/helpers/item_label_helper_spec.rb +++ b/spec/helpers/item_label_helper_spec.rb @@ -3,7 +3,7 @@ require "rails_helper" RSpec.describe ItemLabelHelper do let(:item) { "organisation" } - describe "get the correct label" do + describe "#format_label" do it "returns singular when count is 1" do expect(format_label(1, item)).to eq("organisation") end