mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-28 10:46:15 +01:00
23 lines
636 B
Gherkin
23 lines
636 B
Gherkin
|
Feature: `osc enablechannels` command
|
||
|
|
||
|
|
||
|
# common steps for all scenarios
|
||
|
Background:
|
||
|
Given I set working directory to "{context.osc.temp}"
|
||
|
|
||
|
|
||
|
Scenario: Run `osc enablechannels <project> <package>`
|
||
|
When I execute osc with args "enablechannels test:factory test-pkgA"
|
||
|
Then stdout is
|
||
|
"""
|
||
|
Enabling channels in project: 'test:factory' package: 'test-pkgA'
|
||
|
"""
|
||
|
|
||
|
|
||
|
Scenario: Run `osc enablechannels <project>/<package>`
|
||
|
When I execute osc with args "enablechannels test:factory/test-pkgA"
|
||
|
Then stdout is
|
||
|
"""
|
||
|
Enabling channels in project: 'test:factory' package: 'test-pkgA'
|
||
|
"""
|