Sha256: e49cfc6d735f7adc7ee9e8a2316738869daf90730d5de1610ad1f7636d72b16b

Contents?: true

Size: 599 Bytes

Versions: 29

Compression:

Stored size: 599 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

module Vedeu

  module Cells

    describe Vertical do

      let(:described) { Vedeu::Cells::Vertical }
      let(:instance)  { described.new }

      describe '#as_html' do
        subject { instance.as_html }

        it { subject.must_equal('│') }
      end

      describe '#text' do
        subject { instance.text }

        it { subject.must_equal('|') }
      end

      describe '#type' do
        subject { instance.type }

        it { subject.must_equal(:vertical) }
      end

    end # Vertical

  end # Cells

end # Vedeu

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
vedeu-0.8.32 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.31 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.30 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.29 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.28 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.27 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.26 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.25 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.24 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.23 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.22 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.21 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.20 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.19 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.18 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.17 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.16 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.15 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.14 test/lib/vedeu/cells/borders/vertical_test.rb
vedeu-0.8.13 test/lib/vedeu/cells/borders/vertical_test.rb