Commit 371e5713 authored by Dan Jensen's avatar Dan Jensen Committed by Kerri Miller

Remove references to nonexistent feature flag

Apparently the g_compliance_dashboard_feature never existed. It was
used as an example in documentation and test coverage, so a YAML file
was created for it as if it was an actual feature flag. This deletes
that YAML file and replaces all references with actual feature flag
names. This should avert future confusion.
parent f205bf25
---
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
include RedisTracking
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
render html: 'index'
......
......@@ -3,15 +3,14 @@
require "spec_helper"
RSpec.describe RedisTracking do
let(:event_name) { 'g_compliance_dashboard' }
let(:feature) { 'g_compliance_dashboard_feature' }
let(:feature) { 'approval_rule' }
let(:user) { create(:user) }
controller(ApplicationController) do
include RedisTracking
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
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