spec/flipper/instrumenters/noop_spec.rb in flipper-0.6.1 vs spec/flipper/instrumenters/noop_spec.rb in flipper-0.6.2
- old
+ new
@@ -5,18 +5,18 @@
describe ".instrument" do
context "with name" do
it "yields block" do
yielded = false
described_class.instrument(:foo) { yielded = true }
- yielded.should be_true
+ yielded.should eq(true)
end
end
context "with name and payload" do
it "yields block" do
yielded = false
described_class.instrument(:foo, {:pay => :load}) { yielded = true }
- yielded.should be_true
+ yielded.should eq(true)
end
end
end
end