Sha256: 08b9b3f4d33158c489667d005b186fad7b9bdb8dbdf25434650f33bbb1d794c0

Contents?: true

Size: 572 Bytes

Versions: 1

Compression:

Stored size: 572 Bytes

Contents

Given /^WordPress is already installed$/ do
  in_current_dir do
    `git init`
  end
  create_dir('wp-content/plugins') # Will do for now
end

Then /^a WordPress installation should exist in directory "([^"]*)"$/ do |dir|
  steps %Q{
    Then the following files should exist:
      | #{dir}/index.php            |
      | #{dir}/wp-activate.php      |
      | #{dir}/wp-config-sample.php |
      | #{dir}/wp-settings.php      |
    Then the following directories should exist:
      | #{dir}/wp-content  |
      | #{dir}/wp-admin    |
      | #{dir}/wp-includes |
  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wordless-0.0.2 features/step_definitions/wordpress_steps.rb