Sha256: 588e895a92ea978e12d29e75a24337ea0559ab0b763dc90d7deeb86bc8690723

Contents?: true

Size: 870 Bytes

Versions: 8

Compression:

Stored size: 870 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

module Vedeu

  module Cells

    describe Char do

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

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

        context 'when the value is present' do
          # it { subject.must_equal(' ') }
        end

        context 'when the value is not present' do
          it { subject.must_equal(' ') }
        end
      end

      describe '#cell?' do
        subject { instance.cell? }

        it { subject.must_equal(false) }
      end

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

        it { subject.must_equal('') }
      end

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

        it { subject.must_equal(:char) }
      end

    end # Char

  end # Cells

end # Vedeu

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vedeu-0.8.10 test/lib/vedeu/cells/char_test.rb
vedeu-0.8.9 test/lib/vedeu/cells/char_test.rb
vedeu-0.8.8 test/lib/vedeu/cells/char_test.rb
vedeu-0.8.7 test/lib/vedeu/cells/char_test.rb
vedeu-0.8.6 test/lib/vedeu/cells/char_test.rb
vedeu-0.8.5 test/lib/vedeu/cells/char_test.rb
vedeu-0.8.4 test/lib/vedeu/cells/char_test.rb
vedeu-0.8.3 test/lib/vedeu/cells/char_test.rb