Skip to content

Commit 4c149d5

Browse files
author
Vladimir Moravec
committed
Add parameter :name to the proposal helper
1 parent 63381f4 commit 4c149d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/support/feature_helpers.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module FeatureHelpers
22
attr_reader :scenario_tag, :feature_tag
33

4-
def proposal name
5-
JSON.parse(admin_node.exec!("crowbar #{name} show default").output)
4+
def proposal barclamp, name: "default"
5+
JSON.parse(admin_node.exec!("crowbar #{barclamp} show #{name}").output)
66
end
77

88
def filter_scenario_config_by scenario_tags

0 commit comments

Comments
 (0)