Sha256: 77adbaa83849bef509300e937280badece0fe61cc8251805b13c955a7394ee6d

Contents?: true

Size: 627 Bytes

Versions: 2

Compression:

Stored size: 627 Bytes

Contents

Given /^'setup\.rb config' has NOT been run$/ do
  #pending
end

Given /^'setup.rb config' has been run$/ do
  Setup::Command.run("config", "--quiet") #, "--trace")
end

Given /^'setup\.rb config \-\-type=(.*?)' has been run$/ do |type|
  Setup::Command.run("config", "--type", type, "--quiet")
end

When /^I issue the command 'setup.rb config'$/ do
  Setup::Command.run("config", "--quiet") #, "--trace")
end

Then /^a config file should be generated$/ do
  File.assert.exists?(Setup::Configuration::CONFIG_FILE)
end

Then /^the config file should be updated$/ do
  File.assert.exists?(Setup::Configuration::CONFIG_FILE)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
setup-5.0.1 test/features/step_definitions/config_steps.rb
setup-5.0.0 test/features/step_definitions/config_steps.rb