Sha256: ac2798f9c59a3f3137cd6e2e797324ee705fd24dfcc8261e3f68a10bd4a5634d
Contents?: true
Size: 781 Bytes
Versions: 4
Compression:
Stored size: 781 Bytes
Contents
require 'test_helper' module Vedeu describe Trace do let(:described) { Vedeu::Trace } let(:instance) { described.new(options) } let(:options) { {} } describe '#initialize' do subject { instance } it { subject.must_be_instance_of(Trace) } it { subject.instance_variable_get('@options').must_equal(options) } end describe '.call' do subject { described.call(options) } context 'when trace is enabled in the configuration' do end context 'when trace is disabled in the configuration' do context 'and not enabled via the options' do end context 'but enabled via the options' do let(:options) { { trace: true } } end end end end # Trace end # Vedeu
Version data entries
4 entries across 4 versions & 1 rubygems