Skip to content

Commit

Permalink
LionsAd#32: Added drupal driver and tests for Drupal 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Aug 1, 2015
1 parent cc901ac commit aa3ef03
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/drupal-7/drupal_ti_test/tests/behat/behat.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ default:
browser_name: "$DRUPAL_TI_BEHAT_BROWSER"
Drupal\DrupalExtension:
blackbox: ~
api_driver: "drush"
api_driver: "drupal"
drush_driver: "drush"
drupal:
drupal_root: "$DRUPAL_TI_DRUPAL_DIR"
drush:
root: "$DRUPAL_TI_DRUPAL_DIR"
10 changes: 10 additions & 0 deletions tests/drupal-7/drupal_ti_test/tests/behat/features/drupal.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@api
Feature: Drupal-specific steps
In order to prove that the drupal driver is working properly
As a developer
I need to be able to use the steps provided here

Scenario: drupal is bootstraped
Given I am logged in as a user with the "authenticated user" role
Then I should see "Log out"

0 comments on commit aa3ef03

Please # to comment.