Skip to content

Commit

Permalink
Put back files in correct place, update settings for phpspec
Browse files Browse the repository at this point in the history
  • Loading branch information
godbout committed Jun 8, 2017
1 parent 6b98cdf commit e499993
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -17,7 +17,7 @@
},
"autoload": {
"psr-4": {
"AlfredTime\\": "src/AlfredTime"
"AlfredTime\\": "src/"
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions tests/spec/TogglSpec.php
@@ -0,0 +1,20 @@
<?php

namespace spec\AlfredTime;

use AlfredTime\Toggl;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;

class TogglSpec extends ObjectBehavior
{
function it_is_initializable()
{
$this->shouldHaveType(Toggl::class);
}

function it_returns_empty_array_when_get_projects_is_given_empty_haystack()
{
$this->getProjects([])->shouldReturn([]);
}
}

0 comments on commit e499993

Please sign in to comment.