spec/flipper/adapters/strict_spec.rb in flipper-1.3.0 vs spec/flipper/adapters/strict_spec.rb in flipper-1.3.1

- old
+ new

@@ -27,16 +27,16 @@ context "handler = :warn" do subject { described_class.new(Flipper::Adapters::Memory.new, :warn) } context "#get" do it "raises an error for unknown feature" do - expect(silence { subject.get(feature) }).to match(/Could not find feature "unknown"/) + expect(capture_output { subject.get(feature) }).to match(/Could not find feature "unknown"/) end end context "#get_multi" do it "raises an error for unknown feature" do - expect(silence { subject.get_multi([feature]) }).to match(/Could not find feature "unknown"/) + expect(capture_output { subject.get_multi([feature]) }).to match(/Could not find feature "unknown"/) end end end context "handler = Block" do