Sha256: 7ffac22502edcdc2e7bb730cf50956faec8296adaf47c3c117327047a337b734

Contents?: true

Size: 260 Bytes

Versions: 4

Compression:

Stored size: 260 Bytes

Contents

require 'test_helper'

module Mayl
  module Commands
    describe Exit do
      before do
        @command = Exit.new(stub)
      end

      it 'exits the program' do
        @command.expects(:exit).with(0)
        @command.execute
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mayl-0.2.1 test/mayl/commands/exit_test.rb
mayl-0.2.0 test/mayl/commands/exit_test.rb
mayl-0.1.0 test/mayl/commands/exit_test.rb
mayl-0.0.1 test/mayl/commands/exit_test.rb