Sha256: 8ff46f90cb77977b54a1eca5b906390252e3a03a36924e272be6e4555b22643b
Contents?: true
Size: 462 Bytes
Versions: 61
Compression:
Stored size: 462 Bytes
Contents
# encoding: utf-8 require 'spec_helper' require 'fedux_org_stdlib/core_ext/string/underline' RSpec.describe 'String#underline' do it 'returns a string which is underlined' do expect('Headline'.underline).to eq <<-EOS.strip_heredoc.chomp Headline -------- EOS end it 'is possible to change the character used' do expect('Headline'.underline(character: '#')).to eq <<-EOS.strip_heredoc.chomp Headline ######## EOS end end
Version data entries
61 entries across 61 versions & 1 rubygems