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 | |
namespace Tests\Api; | |
use App\User; | |
use Tests\TestCase as BaseTestCase; | |
use Illuminate\Contracts\Auth\Authenticatable as UserContract; | |
class TestCase extends BaseTestCase | |
{ |
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
var track = require('./track'); |
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
elixir(function (mix) { | |
mix.less('app.less') | |
.less('admin.less') | |
.scripts(['libs/**/*.js', 'app/**/**/*.js'], 'resources/assets/build/app.js') | |
.browserify('app.js', 'public/js/app.js', 'resources/assets/build') | |
.version('js/app.js') | |
}); |
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 namespace App\Providers; | |
use App\Bus\Dispatcher; | |
use Illuminate\Support\ServiceProvider; | |
class BusServiceProvider extends ServiceProvider { | |
/** | |
* Bootstrap any application services. | |
* |
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: Register for an event | |
Given there is an event open for registration | |
When I register for the event | |
Then I should have an event on my schedule |
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: Searching for a page that does exist | |
Given I am on "/wiki/Main_Page" | |
When I fill in "search" with "Behavior Driven Development" | |
And I press "searchButton" | |
Then I should see "agile software development" |
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
{"env":"local"} |
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
function it_handles_register_command(MemberRepository $members) | |
{ | |
$command = new MemberRegisterCommand('email', 'password', 'password'); | |
$members->save(Argument::that(function($member) { | |
return ($member->email == 'email' && $member->password == 'password'); | |
}))->shouldBeCalled(); | |
$this->handle($command)->shouldBeAnInstanceOf(MemberRegisterCommandResponse::class); | |
} |
NewerOlder