Sha256: 13ed08971ddfb3dc1de1decc316a2c258bee9704f7554a86643de2b6c1e12e0a
Contents?: true
Size: 755 Bytes
Versions: 21
Compression:
Stored size: 755 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 '#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
21 entries across 21 versions & 1 rubygems