Sha256: 2f1af4f6fc0414a186fcea7128319b882a9559e3f53bd54eef8fa91ecb05bae8

Contents?: true

Size: 1.2 KB

Versions: 4

Compression:

Stored size: 1.2 KB

Contents

Feature: Change user in different scopes
    As a user with multiple projects
    I want to change my user in different scopes
    So that I have greater control over repositories

    Scenario Outline: change user in scope
        Given no user is selected in any scope
        When I type "git su 'John Galt <jgalt@example.com>' --<selected>"
        Then user "John Galt <jgalt@example.com>" should be selected in "<selected>" scope
        And no user should be selected in "<not_selected>" scope
        And no user should be selected in "<also_not_selected>" scope

        Scenarios:
            | selected | not_selected | also_not_selected |
            | local    | global       | system            |
            | global   | local        | system            |
            | system   | local        | global            |

    Scenario: change user in multiple scopes
        Given no user is selected in any scope
        When I type "git su 'John Galt <jgalt@example.com>' --local --global"
        Then user "John Galt <jgalt@example.com>" should be selected in "local" scope
        And user "John Galt <jgalt@example.com>" should be selected in "global" scope
        And no user should be selected in "system" scope

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gitsu-1.0.0 features/change_user_in_different_scopes.feature
gitsu-0.0.3 features/change_user_in_different_scopes.feature
gitsu-0.0.2 features/change_user_in_different_scopes.feature
gitsu-0.0.1 features/change_user_in_different_scopes.feature