Forgot to make test Flipper-conditional

This commit is contained in:
Juan José Mata
2026-02-09 12:52:52 +00:00
parent f1abbda9dd
commit 6a95c91d73

View File

@@ -9,8 +9,8 @@ class InvitationsControllerTest < ActionDispatch::IntegrationTest
test "should get new" do
get new_invitation_url
assert_response :success
assert_select "option[value=?]", "guest", count: 0 unless Flipper.enabled?(:intro_ui)
assert_select "option[value=?]", "member"
assert_select "option[value=?]", "guest"
assert_select "option[value=?]", "admin"
end