Sha256: 300e2317d76359f4891095d0633de37f7042f60e292ebbd9630d45ba68155948

Contents?: true

Size: 533 Bytes

Versions: 2

Compression:

Stored size: 533 Bytes

Contents

require 'test_helper'

module Vedeu
  module API
    describe Stream do
      describe '#align' do
        it 'returns the value assigned' do
          Stream.new.align(:left).must_equal(:left)
        end
      end

      describe '#text' do
        it 'returns the value assigned' do
          Stream.new.text('Some text...').must_equal('Some text...')
        end
      end

      describe '#width' do
        it 'returns the value assigned' do
          Stream.new.text(30).must_equal(30)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vedeu-0.1.17 test/lib/vedeu/api/stream_test.rb
vedeu-0.1.16 test/lib/vedeu/api/stream_test.rb