diff --git a/test/system/admin/feature_flags_management_test.rb b/test/system/admin/feature_flags_management_test.rb index b9098c50..0c4fb675 100644 --- a/test/system/admin/feature_flags_management_test.rb +++ b/test/system/admin/feature_flags_management_test.rb @@ -9,7 +9,7 @@ class FeatureFlagsManagementTest < ApplicationSystemTestCase end test "admin can enable and disable a feature" do - available_features = users(:admin).tenant.list_features + available_features = users(:admin).tenant.list_available_features enabled = users(:admin).tenant.feature_enabled?(available_features[0].to_sym) click_button available_features[0] assert_button available_features[0]