Skip to content

Commit

Permalink
Remove reminders for treatment_config methods
Browse files Browse the repository at this point in the history
  • Loading branch information
veeweeherman committed Oct 12, 2023
1 parent 6995f4a commit db57731
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions lib/this_feature/adapters/memory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down
4 changes: 0 additions & 4 deletions spec/this_feature/adapters/memory_adapter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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) }

Expand Down

0 comments on commit db57731

Please sign in to comment.