Sha256: c93a08c2477419a66d82773ae249e7bd9908dcfe31ea5ed63e5ba060dcbe3733
Contents?: true
Size: 542 Bytes
Versions: 9
Compression:
Stored size: 542 Bytes
Contents
require 'helper' require 'cassanity/instrumenters/noop' describe Cassanity::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
9 entries across 9 versions & 1 rubygems