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

Version Path
engineyard-1.0.2 spec/ey/ey_spec.rb
engineyard-1.0.1 spec/ey/ey_spec.rb
engineyard-1.0.0 spec/ey/ey_spec.rb
engineyard-0.10.0 spec/ey/ey_spec.rb
engineyard-0.9.0 spec/ey/ey_spec.rb
engineyard-0.8.2 spec/ey/ey_spec.rb
engineyard-0.8.1 spec/ey/ey_spec.rb
engineyard-0.8.0 spec/ey/ey_spec.rb
engineyard-0.7.1 spec/ey/ey_spec.rb
engineyard-0.7.0 spec/ey/ey_spec.rb
engineyard-0.5.5 spec/ey/ey_spec.rb
engineyard-0.5.4 spec/ey/ey_spec.rb