summaryrefslogtreecommitdiff
path: root/spec/components/pajamas/radio_component_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/components/pajamas/radio_component_spec.rb')
-rw-r--r--spec/components/pajamas/radio_component_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/components/pajamas/radio_component_spec.rb b/spec/components/pajamas/radio_component_spec.rb
index 8df432746d0..5b12e7c2785 100644
--- a/spec/components/pajamas/radio_component_spec.rb
+++ b/spec/components/pajamas/radio_component_spec.rb
@@ -76,7 +76,7 @@ RSpec.describe Pajamas::RadioComponent, :aggregate_failures, type: :component do
value: value
)
) do |c|
- c.label { label }
+ c.with_label { label }
end
end
end
@@ -95,7 +95,7 @@ RSpec.describe Pajamas::RadioComponent, :aggregate_failures, type: :component do
label: label
)
) do |c|
- c.help_text { help_text }
+ c.with_help_text { help_text }
end
end
end
@@ -114,8 +114,8 @@ RSpec.describe Pajamas::RadioComponent, :aggregate_failures, type: :component do
value: value
)
) do |c|
- c.label { label }
- c.help_text { help_text }
+ c.with_label { label }
+ c.with_help_text { help_text }
end
end
end