mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-13 07:56:14 +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'
|
||
|
"""
|