Sha256: 36b45737057edbec25e81ea6bc53224d3226fab4dda795a79327648ff9fecf4e
Contents?: true
Size: 540 Bytes
Versions: 10
Compression:
Stored size: 540 Bytes
Contents
require 'helper' require 'flipper/instrumenters/noop' describe Flipper::Instrumenters::Noop do describe ".instrument" do context "with name" do it "yields block" do yielded = false described_class.instrument(:foo) { yielded = 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 eq(true) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems