Sha256: 6e80aff9a91f3185513101dfff939b66751e80a32352a6170c5328e08c99e87b

Contents?: true

Size: 602 Bytes

Versions: 3

Compression:

Stored size: 602 Bytes

Contents

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(' ') }

        it { instance.must_respond_to(:text) }
      end

    end # Clear

  end # Cells

end # Vedeu

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vedeu-0.7.4 test/lib/vedeu/cells/clear_test.rb
vedeu-0.7.3 test/lib/vedeu/cells/clear_test.rb
vedeu-0.7.2 test/lib/vedeu/cells/clear_test.rb