Sha256: 0cb560b9297405759ba92b6c767a55f41a2abae158f8b3d4cb532e82b83b3e1f

Contents?: true

Size: 508 Bytes

Versions: 8

Compression:

Stored size: 508 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:
        """
        Installation finished!
        """
      Then a directory named "#{app_name}" should exist
    )
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pah-0.0.28 features/step_definitions/create_simple_app.rb
pah-0.0.27 features/step_definitions/create_simple_app.rb
pah-0.0.26 features/step_definitions/create_simple_app.rb
pah-0.0.25 features/step_definitions/create_simple_app.rb
pah-0.0.24 features/step_definitions/create_simple_app.rb
pah-0.0.23 features/step_definitions/create_simple_app.rb
pah-0.0.22 features/step_definitions/create_simple_app.rb
pah-0.0.21 features/step_definitions/create_simple_app.rb