Sha256: c7841ae474ecab1f7a09afb219f25b2e69e3dc5b793dbbff24f1eb947a750e7c
Contents?: true
Size: 538 Bytes
Versions: 4
Compression:
Stored size: 538 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 be_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 end end end end
Version data entries
4 entries across 4 versions & 1 rubygems