spec/flipper/gates/boolean_spec.rb in flipper-0.27.1 vs spec/flipper/gates/boolean_spec.rb in flipper-0.28.0
- old
+ new
@@ -7,10 +7,10 @@
def context(bool)
Flipper::FeatureCheckContext.new(
feature_name: feature_name,
values: Flipper::GateValues.new(boolean: bool),
- thing: Flipper::Types::Actor.new(Flipper::Actor.new(1))
+ actors: [Flipper::Types::Actor.new(Flipper::Actor.new('1'))]
)
end
describe '#enabled?' do
context 'for true value' do