Sha256: 16b83877b4fad26e2367e4b0acf8920a85560dee808103f4f8a2a326a35e667e
Contents?: true
Size: 1.22 KB
Versions: 4
Compression:
Stored size: 1.22 KB
Contents
require_relative '../../../test_helper' module Troo module CLI describe Show do let(:described_class) { Show } describe '#boards' do subject { capture_io { described_class.new.boards }.join } it 'returns the output of the command' do subject.must_match(/Boards cannot be found/) end end describe '#board' do subject { capture_io { described_class.new.board }.join } it 'returns the output of the command' do subject.must_match(/Board cannot be found/) end end describe '#list' do subject { capture_io { described_class.new.list }.join } it 'returns the output of the command' do subject.must_match(/List cannot be found/) end end describe '#card' do subject { capture_io { described_class.new.card }.join } it 'returns the output of the command' do subject.must_match(/Card cannot be found/) end end describe '#comments' do subject { capture_io { described_class.new.comments }.join } it 'returns the output of the command' do subject.must_match(/Card cannot be found/) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
troo-0.0.12 | test/lib/troo/cli/show_test.rb |
troo-0.0.11 | test/lib/troo/cli/show_test.rb |
troo-0.0.10 | test/lib/troo/cli/show_test.rb |
troo-0.0.9 | test/lib/troo/cli/show_test.rb |