Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put back files in correct place, update settings for phpspec
- Loading branch information
Showing
9 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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([]); | ||
} | ||
} |