spec/flipper/adapters/instrumented_spec.rb in flipper-0.7.5 vs spec/flipper/adapters/instrumented_spec.rb in flipper-0.8.0
- old
+ new
@@ -17,9 +17,15 @@
described_class.new(adapter, :instrumenter => instrumenter)
}
it_should_behave_like 'a flipper adapter'
+ describe "#name" do
+ it "is instrumented" do
+ expect(subject.name).to be(:instrumented)
+ end
+ end
+
describe "#get" do
it "records instrumentation" do
result = subject.get(feature)
event = instrumenter.events.last