Created
September 28, 2013 00:34
-
-
Save alnutile/6737050 to your computer and use it in GitHub Desktop.
Ah I missed two obvious things. Sure helps to read the spec.
1. .php not .inc
2. Class = Name of file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Drupal\BehatEditorSauceLabs; | |
//Later on | |
composer_manager_register_autoloader(); | |
$check_connection = new Drupal\BehatEditorSauceLabs\BehatEditorSauceLabsWrapper($username, $api_key); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//src/Drupal/BehatEditorSauceLabs/BehatEditorSauceLabsWrapper.inc | |
<?php | |
namespace Drupal\BehatEditorSauceLabs; | |
class BehatEditorSauceLabsWrapper { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"require": { | |
"instaclick/php-webdriver": "1.0.16" | |
}, | |
"autoload": { | |
"psr-0": { | |
"Drupal\\BehatEditorSauceLabs\\": "src/" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment