Browse Source

better test name

pull/643/head
JG 3 years ago
parent
commit
d58df1771f
  1. 2
      spec/helpers/item_label_helper_spec.rb

2
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

Loading…
Cancel
Save