Sha256: b96ea84eb4bf2e44fdc1af241e46a6029824cba7c575d56cc548659f854096d9

Contents?: true

Size: 669 Bytes

Versions: 2

Compression:

Stored size: 669 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

module Vedeu

  module Cells

    describe Clear do

      let(:described)  { Vedeu::Cells::Clear }
      let(:instance)   { described.new(attributes) }
      let(:attributes) {
        {
          value: _value,
        }
      }
      let(:_value) { ' ' }

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

        it { subject.must_equal(false) }
      end

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

        it { subject.must_equal(' ') }
      end

      describe '#text' do
        it { instance.must_respond_to(:text) }
      end

    end # Clear

  end # Cells

end # Vedeu

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vedeu-0.8.2 test/lib/vedeu/cells/clear_test.rb
vedeu-0.8.1 test/lib/vedeu/cells/clear_test.rb