Sha256: b036bfec6838aff480f02dc48e8f88daa47ebc52905679d60c15a0708540f597
Contents?: true
Size: 455 Bytes
Versions: 2
Compression:
Stored size: 455 Bytes
Contents
require_relative '../test_helper' require_relative '../../lib/lovely_rufus/settings' module LovelyRufus describe Settings do describe '#width' do it 'defaults to 72' do Settings.new([]).width.must_equal 72 end it 'can be set via --width' do Settings.new(%w(--width=42)).width.must_equal 42 end it 'can be set via -w' do Settings.new(%w(-w 42)).width.must_equal 42 end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lovely_rufus-0.3.1 | test/lovely_rufus/settings_test.rb |
lovely_rufus-0.3.0 | test/lovely_rufus/settings_test.rb |