diff --git a/lib/this_feature/adapters/memory.rb b/lib/this_feature/adapters/memory.rb index c43c1ec..1ec81fd 100644 --- a/lib/this_feature/adapters/memory.rb +++ b/lib/this_feature/adapters/memory.rb @@ -34,8 +34,6 @@ def control?(flag_name, **kwargs) !present?(flag_name) end - # def treatment_config(flag_name, context: nil, data: {}, record: nil) - def treatment_value(flag_name, context: nil, data: {}, record: nil) return 'control' if !present?(flag_name) || context.nil? diff --git a/spec/this_feature/adapters/memory_adapter_spec.rb b/spec/this_feature/adapters/memory_adapter_spec.rb index 75c2ce9..27fe808 100644 --- a/spec/this_feature/adapters/memory_adapter_spec.rb +++ b/spec/this_feature/adapters/memory_adapter_spec.rb @@ -273,10 +273,6 @@ end end - # describe '#treatment_config' do - # returns nil if there is none - # end - describe '.on!' do subject(:on!) { adapter.on!(flag_name) }