spec/lib/tomatoharvest/cli_spec.rb in tomatoharvest-0.1.0 vs spec/lib/tomatoharvest/cli_spec.rb in tomatoharvest-0.1.1

- old
+ new

@@ -28,9 +28,12 @@ end it 'removes task from the list' do out = capture_io { TomatoHarvest::CLI.start ['remove', 1] }.join '' expect(out).to match(/1 removed/) + + out = capture_io { TomatoHarvest::CLI.start ['list'] }.join '' + expect(out).to match(/id name\n\z/) end end describe 'start' do