Sha256: 6b9d47ca868269c5178a7185f94f6d2e56ca80fbbeea7ffbff790a526038f315

Contents?: true

Size: 908 Bytes

Versions: 6

Compression:

Stored size: 908 Bytes

Contents

require 'test_helper'

module Vedeu

  describe Writer do

    describe '.[]' do
      it 'returns a new instance of Writer' do
        Writer[:null, :file, :screen].must_be_instance_of(Writer)
      end
    end

    describe '#initialize' do
      it 'returns an instance of itself' do
        writers = :null

        Writer.new(writers).must_be_instance_of(Writer)
      end
    end

    # describe '#==' do
    #   context 'when the two objects are the same' do
    #     it { skip;subject.must_equal(true) }
    #   end

    #   context 'when the two objects are not the same' do
    #     it { skip;subject.must_equal(false) }
    #   end
    # end

    # describe '#+' do
    #   it 'returns the collection of writers' do
    #     skip
    #   end
    # end

    # describe '.write' do
    #   it 'not sure if this should be here' do
    #     skip
    #   end
    # end

  end # Writer

end # Vedeu

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vedeu-0.3.5 test/lib/vedeu/output/writer_test.rb
vedeu-0.3.4 test/lib/vedeu/output/writer_test.rb
vedeu-0.3.3 test/lib/vedeu/output/writer_test.rb
vedeu-0.3.2 test/lib/vedeu/output/writer_test.rb
vedeu-0.3.1 test/lib/vedeu/output/writer_test.rb
vedeu-0.3.0 test/lib/vedeu/output/writer_test.rb