Sha256: e890ff2e4325cbb80be9e480f1c834f79cba79d18348d2a05ac790d84ede225d

Contents?: true

Size: 597 Bytes

Versions: 2

Compression:

Stored size: 597 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::CONFIG_FILE)
end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
setup-5.2.0 test/features/step_definitions/config_steps.rb
setup-5.1.0 test/features/step_definitions/config_steps.rb