Added mnemonic b for broadcast.

This commit is contained in:
Marco Vermeulen
2013-06-30 17:21:30 +01:00
parent deef73207b
commit 04b8771968
2 changed files with 8 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ function gvm {
COMMAND="current";;
d)
COMMAND="default";;
b)
COMMAND="broadcast";;
esac
#

View File

@@ -60,3 +60,9 @@ Feature: Mnemonics
Then I see "Default groovy version set to 2.0.5"
And the candidate "groovy" version "2.0.5" should be the default
Scenario: Shortcut for a Broadcast command issued
Given no prior Broadcast was received
And a new Broadcast "This is a LIVE Broadcast!" is available
When I enter "gvm b"
Then I see only "This is a LIVE Broadcast!"