Skip to content

Commit

Permalink
fix: unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
candidosales committed Feb 13, 2025
1 parent bda3157 commit de5436c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/helpers/maintenance_tasks/tasks_helper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ def with_zone_default(new_zone)
def markup(attribute)
render(inline: <<~TEMPLATE)
<%= fields_for(Maintenance::ParamsTask.new) do |form| %>
<%= parameter_field(form, '#{attribute}') %>
<% inclusion_values = resolve_inclusion_value(form.object, '#{attribute}') %>
<%= parameter_field(form, '#{attribute}', inclusion_values) %>
<% end %>
TEMPLATE
end
Expand Down

0 comments on commit de5436c

Please sign in to comment.