Commit def87658 authored by Kerri Miller's avatar Kerri Miller

Merge branch '251080-replace-example-feature-flag-name' into 'master'

Remove references to nonexistent feature flag

See merge request gitlab-org/gitlab!44516
parents f3d36d39 371e5713
---
name: g_compliance_dashboard_feature
introduced_by_url:
rollout_issue_url:
group:
type: development
default_enabled: true
...@@ -330,7 +330,7 @@ Implemented using Redis methods [PFADD](https://redis.io/commands/pfadd) and [PF ...@@ -330,7 +330,7 @@ Implemented using Redis methods [PFADD](https://redis.io/commands/pfadd) and [PF
include RedisTracking include RedisTracking
skip_before_action :authenticate_user!, only: :show skip_before_action :authenticate_user!, only: :show
track_redis_hll_event :index, :show, name: 'i_analytics_dev_ops_score', feature: :g_compliance_dashboard_feature, feature_default_enabled: true track_redis_hll_event :index, :show, name: 'g_compliance_example_feature_visitors', feature: :compliance_example_feature, feature_default_enabled: true
def index def index
render html: 'index' render html: 'index'
......
...@@ -3,15 +3,14 @@ ...@@ -3,15 +3,14 @@
require "spec_helper" require "spec_helper"
RSpec.describe RedisTracking do RSpec.describe RedisTracking do
let(:event_name) { 'g_compliance_dashboard' } let(:feature) { 'approval_rule' }
let(:feature) { 'g_compliance_dashboard_feature' }
let(:user) { create(:user) } let(:user) { create(:user) }
controller(ApplicationController) do controller(ApplicationController) do
include RedisTracking include RedisTracking
skip_before_action :authenticate_user!, only: :show skip_before_action :authenticate_user!, only: :show
track_redis_hll_event :index, :show, name: 'i_analytics_dev_ops_score', feature: :g_compliance_dashboard_feature, feature_default_enabled: true track_redis_hll_event :index, :show, name: 'g_compliance_approval_rules', feature: :approval_rule, feature_default_enabled: true
def index def index
render html: 'index' render html: 'index'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment