Sha256: fdd94b74db21c00c2aab868e85ef18554829286b78ecc94a5484969aae6bed7a
Contents?: true
Size: 386 Bytes
Versions: 12
Compression:
Stored size: 386 Bytes
Contents
require 'spec_helper' describe "ey" do context "run without arguments" do it "prints usage information" do ey.should include("Usage:") end end context "run with an argument that is not a command" do it "tells the user that is not a command" do ey "foobarbaz", :expect_failure => true @err.should include("Could not find command") end end end
Version data entries
12 entries across 12 versions & 1 rubygems