Sha256: 83cdd28d87865fc6c142d2b2099feb32c147fb15c8723b7bf5541435620f2d5c
Contents?: true
Size: 455 Bytes
Versions: 4
Compression:
Stored size: 455 Bytes
Contents
require 'spec_helper' require 'observed/reporter' describe Observed::Reporter do subject { described_class.new(tag_pattern: /foo/, system: sys) } let(:sys) { mock('system') } it 'fails when the method `match` is not overrode' do expect { subject.match('the_tag') }.to raise_error end it 'fails when the method `report` is not overrodo' do expect { subject.report('the_tag', Time.now, {test:'data'}) }.to raise_error end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
observed-0.2.0 | spec/reporter_spec.rb |
observed-0.2.0.rc2 | spec/reporter_spec.rb |
observed-0.2.0.rc1 | spec/reporter_spec.rb |
observed-0.1.1 | spec/reporter_spec.rb |