spec/flipper/dsl_spec.rb in flipper-0.8.0 vs spec/flipper/dsl_spec.rb in flipper-0.9.0.beta1
- old
+ new
@@ -23,16 +23,9 @@
it "overrides default instrumenter" do
dsl = described_class.new(adapter, :instrumenter => instrumenter)
expect(dsl.instrumenter).to be(instrumenter)
end
-
- it "passes overridden instrumenter to instrumented adapter" do
- dsl = described_class.new(adapter, :instrumenter => instrumenter)
- memoized = dsl.adapter
- instrumented = memoized.adapter
- expect(instrumented.instrumenter).to be(instrumenter)
- end
end
end
describe "#feature" do
it_should_behave_like "a DSL feature" do