Skip to content

Commit

Permalink
changed name of feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdip committed Mar 21, 2024
1 parent e2b7994 commit 8e9805a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<% end %>
</section>

<% if FeatureFlags::FeatureFlag.active?(:show_all_applicants) %>
<% if FeatureFlags::FeatureFlag.active?(:show_all_applicants_filter) %>
<section id="app-applications-show-all-applicants">
<%= f.govuk_check_boxes_fieldset :show_all, legend: nil, multiple: false, small: true do %>
<%= f.govuk_check_box :show_all, :true, multiple: false, label: { text: "Show applications completed older than 90 days ago" }, checked: @view_object.filter_form.show_all == "true" %>
Expand Down
2 changes: 1 addition & 1 deletion config/feature_flags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ feature_flags:
Allow starting an application on this service directly after completing
an eligibility check.
show_all_applicants:
show_all_applicants_filter:
author: Nick Diplos
description: >
Adds a filter that allows assessors to view applications that are older than 90 days old.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

RSpec.describe "Assessor filtering application forms", type: :system do
before do
FeatureFlags::FeatureFlag.activate(:show_all_applicants)
FeatureFlags::FeatureFlag.activate(:show_all_applicants_filter)
given_the_service_is_open
given_there_are_application_forms
given_i_am_authorized_as_an_assessor_user
Expand Down

0 comments on commit 8e9805a

Please sign in to comment.