Sha256: 2f847b598461e609cb3bdafd2a00bbd74cc6c86ccce5f961f866ea3195cef5e2
Contents?: true
Size: 464 Bytes
Versions: 2
Compression:
Stored size: 464 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-1.0.0 | test/lovely_rufus/settings_test.rb |
lovely_rufus-0.3.2 | test/lovely_rufus/settings_test.rb |