Sha256: 97e54ad8d0b77d8438ac045ffbcb817613a1e961860512d1ee0e1e72ec9cb808

Contents?: true

Size: 556 Bytes

Versions: 2

Compression:

Stored size: 556 Bytes

Contents

#
# Methadone/Aruba "extensions"/"customizations"
#

When /^I get the version of "([^"]*)"$/ do |script_name|
  @script_name = script_name
  step %(I run `#{script_name} --version`)
end

Then /^the output should include the version$/ do
  step %(the output should match /v\\d+\\.\\d+\\.\\d+/)
end

Then /^the output should include the app name$/ do
  step %(the output should match /#{Regexp.escape(@script_name)}/)
end

Then /^the output should include a copyright notice$/ do
  step %(the output should match /Copyright \\(c\\) [\\d]{4} [[\\w]+]+/)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
git-switcher-0.0.2 features/step_definitions/git-switcher_steps.rb
git-switcher-0.0.1 features/step_definitions/git-switcher_steps.rb