Sha256: 342bc131345366223dd8fda18494f7bcff6bcc2e64091707a210147d37bec603

Contents?: true

Size: 1.87 KB

Versions: 18

Compression:

Stored size: 1.87 KB

Contents

Feature: ppl phone

  Scenario: Add a preferred phone number with a type
    Given I am in an address book with a blank contact called bob
    And I run "ppl phone bob 123 --type cell --preferred"
    Then it should succeed
    And bob should have 1 phone number
    And the 1st phone number should be "*  123  (cell)"

  Scenario: Add a phone number to a contact
    Given I am in an address book with a blank contact called bob
    And I run "ppl phone bob 01234567890"
    Then it should succeed
    And bob should have 1 phone number
    And the 1st phone number should be "01234567890"

  Scenario: Update a phone number's type
    Given I am in the same address book as before
    And I run "ppl phone bob 01234567890 --type cell"
    Then it should succeed
    And bob should have 1 phone number
    And the 1st phone number should be "01234567890  (cell)"

  Scenario: Remove a phone number's type
    Given I am in the same address book as before
    And I run "ppl phone bob 01234567890 --type ''"
    Then it should succeed
    And bob should have 1 phone number
    And the 1st phone number should be "01234567890"

  Scenario: Set an existing phone number as the preferred number
    Given I am in the same address book as before
    And I run "ppl phone bob 01234567890 --preferred"
    Then it should succeed
    And bob should have 1 phone number
    And "01234567890" should be the preferred phone number

  Scenario: Remove the preferred flag from a phone number
    Given I am in the same address book as before
    And I run "ppl phone bob -P 01234567890"
    Then it should succeed
    And bob should have 1 phone number
    And there should be no preferred phone number

  Scenario: Remove a phone number from a contact
    Given I am in the same address book as before
    And I run "ppl phone bob --delete 01234567890"
    Then it should succeed
    And bob should have 0 phone numbers

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ppl-4.0.5 features/phone.feature
ppl-4.0.3 features/phone.feature
ppl-4.0.2 features/phone.feature
ppl-4.0.1 features/phone.feature
ppl-4.0.0 features/phone.feature
ppl-3.0.1 features/phone.feature
ppl-3.0.0 features/phone.feature
ppl-2.4.1 features/phone.feature
ppl-2.4.0 features/phone.feature
ppl-2.3.3 features/phone.feature
ppl-2.3.2 features/phone.feature
ppl-2.3.1 features/phone.feature
ppl-2.3.0 features/phone.feature
ppl-2.2.0 features/phone.feature
ppl-2.1.0 features/phone.feature
ppl-2.0.0 features/phone.feature
ppl-1.25.0 features/phone.feature
ppl-1.24.0 features/phone.feature