Sha256: 80b523428c991fbc15e189d77e47a3ab4377b7f47dd9556cebf851db5bc7115b
Contents?: true
Size: 447 Bytes
Versions: 26
Compression:
Stored size: 447 Bytes
Contents
require File.join(File.dirname(__FILE__), '../../test_helper') describe HammerCLI::Help::Text do describe '#build_string' do let(:text) { HammerCLI::Help::Text.new('text') } it 'builds string' do text.build_string.must_equal 'text' end it 'ensures that options are used' do text = HammerCLI::Help::Text.new('text', richtext: true) text.build_string.must_equal HighLine.color('text', :bold) end end end
Version data entries
26 entries across 26 versions & 1 rubygems