Skip to content

Commit

Permalink
Remove Flipper initialiation spec
Browse files Browse the repository at this point in the history
There is no logic involved, we gain nothing by this spec. We just
make it harder to change flipper groups.
  • Loading branch information
hennevogel committed May 28, 2021
1 parent ed2c897 commit 010345c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/api/spec/lib/feature_toggle/flipper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
RSpec.describe Flipper do
subject { Flipper.enabled?(feature, user) }

describe 'Flipper initialization' do
it { expect(Flipper.group_names).to contain_exactly(:beta, :rollout) }
end

context 'when the feature is enabled for the flipper "beta" group' do
let(:feature) { :group_feature }

Expand Down

0 comments on commit 010345c

Please sign in to comment.