File: cli_spec.rb

package info (click to toggle)
ruby-maruku 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,296 kB
  • ctags: 492
  • sloc: ruby: 5,726; xml: 235; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 214 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
require File.dirname(__FILE__) + '/spec_helper'

describe "The maruku CLI" do
  it "has a nonzero exit code on invalid options" do
    `ruby -Ilib bin/maruku --foo 2>&1`
    $?.exitstatus.should_not == 0
  end
end