Sha256: 99412ef2ffd82ce326eea696cda0c9a58fcaad8e72bc3037996f347954c91385
Contents?: true
Size: 332 Bytes
Versions: 3
Compression:
Stored size: 332 Bytes
Contents
# -*- coding: utf-8 -*- require File.expand_path( File.join(File.dirname(__FILE__), "..", "..", "spec_helper") ) describe CommandDiff do it "should accept -h (help) option" do out = with_stdout_captured do args = %w{diff -h} CliDirCat.new.parse_and_execute(args) end out.should match /Usage:/ end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dircat-0.1.8 | spec/dircat/cli/command_diff_spec.rb |
dircat-0.1.7 | spec/dircat/cli/command_diff_spec.rb |
dircat-0.1.6 | spec/dircat/cli/command_diff_spec.rb |