1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
Feature: Aruba Console
Background:
Given a mocked home directory
Scenario: Start console
Given I run `aruba console` interactively
When I close the stdin stream
Then the output should contain:
"""
aruba:001:0>
"""
@unsupported-on-platform-java
Scenario: Show help
Given I run `aruba console` interactively
And I type "aruba_help"
When I close the stdin stream
Then the output should contain:
"""
Version:
"""
And the output should contain:
"""
Issue Tracker:
"""
And the output should contain:
"""
Documentation:
"""
@unsupported-on-platform-java
Scenario: Show methods
Given I run `aruba console` interactively
And I type "aruba_methods"
When I close the stdin stream
Then the output should contain:
"""
Methods:
"""
And the output should contain:
"""
* setup_aruba
"""
@unsupported-on-platform-java
Scenario: Has history
Given I run `aruba console` interactively
And I type "aruba_methods"
And I type "exit"
When I close the stdin stream
Then the file "~/.aruba_history" should exist
|