Sha256: 2c62f108fdd0ea59ffbbe0d0ffa253f09237630f6e0d5da810dcec165bc17710
Contents?: true
Size: 578 Bytes
Versions: 3
Compression:
Stored size: 578 Bytes
Contents
require 'spec_helper' require 'derketo/tracer' describe Derketo::Tracer do describe '#trace' do let(:tracer) { Derketo::Tracer.new } let(:example) { m = Mermaid.new tracer.trace { m.sing } } it 'returns the original response' do expect(example).to eq('a song') end it 'captures the trace' do example expect(tracer.events.empty?).to eq(false) end it 'only captures the specified trace when given a root' do skip 'need to put the Mermaid class into a spec dummy directory' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
derketo-0.1.2 | spec/derketo/tracer_spec.rb |
derketo-0.1.1 | spec/derketo/tracer_spec.rb |
derketo-0.1.0 | spec/derketo/tracer_spec.rb |