Sha256: 8bf29e8ef4398b94f9d104fb8550869208642e297b66f3ddd8df079c41cae906

Contents?: true

Size: 518 Bytes

Versions: 4

Compression:

Stored size: 518 Bytes

Contents

Given(/^I have created the app "(.*?)" with pah$/) do |app_name|
  app_exists = File.directory?("tmp/aruba/#{app_name}")

  if app_exists
    steps %Q(
      Then a directory named "#{app_name}" should exist
    )
  else
    steps %Q(
      When I run `rm -rf #{app_name}`
      Then I run `pah #{app_name}` interactively
      And I type "n"
      Then the output should contain:
        """
        CONGRATS! INSTALLATION COMPLETE!
        """
      Then a directory named "#{app_name}" should exist
    )
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pah-0.0.20 features/step_definitions/create_simple_app.rb
pah-0.0.19 features/step_definitions/create_simple_app.rb
pah-0.0.17 features/step_definitions/create_simple_app.rb
pah-0.0.16 features/step_definitions/create_simple_app.rb