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
parameters: | |
database_host: 127.0.0.1 | |
database_port: ~ | |
database_name: circle_test | |
database_user: ubuntu | |
database_password: null |
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
machine: | |
php: | |
version: 7.0.0RC7 | |
ruby: | |
version: 2.0.0-p481 | |
dependencies: | |
override: | |
- composer install --prefer-source --no-interaction --no-scripts | |
- cp app/config/parameters_test.circle.yml app/config/parameters_test.yml |
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
Background: | |
Given a global administrator named "Greg" | |
And a blog named "Greg's anti-tax rants" | |
And a customer named "Wilson" | |
And a blog named "Expensive Therapy" owned by "Wilson" |
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
Scenario Outline: Eating | |
Given there are <start> cucumbers | |
When I eat <eat> cucumbers | |
Then I should have <left> cucumbers | |
Examples: | |
| start | eat | left | | |
| 12 | 5 | 7 | | |
| 20 | 5 | 15 | |
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
Scenario: Eat 5 out of 12 | |
Given there are 12 cucumbers | |
When I eat 5 cucumbers | |
Then I should have 7 cucumbers | |
Scenario: Eat 5 out of 20 | |
Given there are 20 cucumbers | |
When I eat 5 cucumbers | |
Then I should have 15 cucumbers |
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
Scenario: Log in with username and password | |
Given I am on the store homepage | |
And I follow "Login" | |
When I fill in the following: | |
| Email | [email protected] | | |
| Password | foo1 | | |
And I press "Login" | |
Then I should be redirected to the store homepage | |
And I should see "Logout" |
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
#!/bin/bash | |
go run mattermost.go -create_team -team_name="khoa" -email="[email protected]" | |
go run mattermost.go -create_user -team_name="khoa" -email="[email protected]" -password="123456" | |
go run mattermost.go -assign_role -team_name="khoa" -email="[email protected]" -role="system_admin" |
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 | |
/** | |
* @param Request $request | |
* @param string $subdomain | |
* @return Response | |
*/ | |
public function purecacheAction(Request $request, $subdomain) | |
{ | |
$servers = array('127.0.0.1'); // Port 80 assumed for 10.0.0.1 | |
$client = new Symfony($servers, 'http://your-url.com'); |
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
<script src="https://gist.github.com/alexellis/0bb982253f3619e29f18.js"></script> |
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
/platform -assign_role -team_name="khoa" -email="[email protected]" -role="system_admin" |