Skip to content

Commit 8840e61

Browse files
committed
Pass boolean false to disable
1 parent 5975a57 commit 8840e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/flipper/spec/shared_adapter_specs.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
expect(subject.enable(feature, actors_gate, flipper.actors(25))).to eq(true)
6666
expect(subject.enable(feature, time_gate, flipper.time(45))).to eq(true)
6767

68-
expect(subject.disable(feature, boolean_gate, flipper.boolean)).to eq(true)
68+
expect(subject.disable(feature, boolean_gate, flipper.boolean(false))).to eq(true)
6969

7070
expect(subject.get(feature)).to eq({
7171
:boolean => nil,

0 commit comments

Comments
 (0)