Sha256: 1f8f0e485e258962407a705d26012d52b7c1a0770cc8c05f6d5cc029ed0341ea

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 Bytes

Contents

require 'spec_helper'

require 'observed/writer'

describe Observed::Writer do

  subject {
    described_class.new
  }

  context 'when the method `write(tag, time, data)` is not overrode' do
    it 'fails' do
      expect { subject.write('the_tag', Time.now, {test:{data:1}}) }.to raise_error
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
observed-0.1.1 spec/writer_spec.rb