Sha256: 59f61ae844bd6ec17e003fd81a710eb311e9c02e99d4b5e316243a76444d71da

Contents?: true

Size: 374 Bytes

Versions: 4

Compression:

Stored size: 374 Bytes

Contents

require 'spec_helper'

describe "ey" do
  context "run without arguments" do
    it "prints usage information" do
      ey.should include "Tasks:"
    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", :hide_err => true
      @err.should include "Could not find task"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
engineyard-0.2.11 spec/ey/ey_spec.rb
engineyard-0.2.10 spec/ey/ey_spec.rb
engineyard-0.2.9 spec/ey/ey_spec.rb
engineyard-0.2.7 spec/ey/ey_spec.rb