Skip to content

Commit

Permalink
Add parameter :name to the proposal helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Moravec committed Oct 1, 2015
1 parent 63381f4 commit 4c149d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/support/feature_helpers.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module FeatureHelpers
attr_reader :scenario_tag, :feature_tag

def proposal name
JSON.parse(admin_node.exec!("crowbar #{name} show default").output)
def proposal barclamp, name: "default"
JSON.parse(admin_node.exec!("crowbar #{barclamp} show #{name}").output)
end

def filter_scenario_config_by scenario_tags
Expand Down

0 comments on commit 4c149d5

Please sign in to comment.