diff options
Diffstat (limited to 'spec/graphql/types/base_field_spec.rb')
-rw-r--r-- | spec/graphql/types/base_field_spec.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/graphql/types/base_field_spec.rb b/spec/graphql/types/base_field_spec.rb index daed5725e26..3ec33c75803 100644 --- a/spec/graphql/types/base_field_spec.rb +++ b/spec/graphql/types/base_field_spec.rb @@ -135,25 +135,6 @@ describe Types::BaseField do it 'returns true if the feature is enabled' do expect(field.visible?(context)).to eq(true) end - - context 'falsey feature_flag values' do - using RSpec::Parameterized::TableSyntax - - where(:flag, :feature_value, :visible) do - '' | false | true - '' | true | true - nil | false | true - nil | true | true - end - - with_them do - it 'returns the correct value' do - stub_feature_flags(flag => feature_value) - - expect(field.visible?(context)).to eq(visible) - end - end - end end end end |