Sha256: 98201dfd592e3e8282de966307d08022075c3013d5eb381ce7c122bd73fa83a9

Contents?: true

Size: 277 Bytes

Versions: 6

Compression:

Stored size: 277 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 = capture_out { CliDirCat.run %w{diff -h} }.out
    out.should match /Usage:/
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dircat-0.2.1 spec/dircat/cat_on_yaml_cli/command_diff_spec.rb
dircat-0.2.0 spec/dircat/cat_on_yaml_cli/command_diff_spec.rb
dircat-0.1.12 spec/dircat/cli/command_diff_spec.rb
dircat-0.1.11 spec/dircat/cli/command_diff_spec.rb
dircat-0.1.10 spec/dircat/cli/command_diff_spec.rb
dircat-0.1.9 spec/dircat/cli/command_diff_spec.rb