We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4b72bb commit 7e0d413Copy full SHA for 7e0d413
1 file changed
spec/superform/rails/components/label_spec.rb
@@ -7,10 +7,10 @@
7
let(:form) { Superform::Rails::Form.new(user) }
8
let(:field) { form.field(:first_name) }
9
let(:label) { described_class.new(field, attributes: { class: "form-label" }) }
10
-
+
11
subject { label.call }
12
13
it "renders label with titleized field name" do
14
- expect(subject).to eq('<label for="user_first_name" class="form-label">First Name</label>')
+ expect(subject).to eq('<label for="user_first_name" class="form-label">First name</label>')
15
end
16
-end
+end
0 commit comments