summaryrefslogtreecommitdiffstats
path: root/tests/GitDeploy/Tests/GitDeployTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GitDeploy/Tests/GitDeployTest.php')
-rw-r--r--tests/GitDeploy/Tests/GitDeployTest.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/GitDeploy/Tests/GitDeployTest.php b/tests/GitDeploy/Tests/GitDeployTest.php
new file mode 100644
index 0000000..ff1bf10
--- /dev/null
+++ b/tests/GitDeploy/Tests/GitDeployTest.php
@@ -0,0 +1,19 @@
+<?php
+
+namespace GitDeploy\Tests\GitDeployTest;
+
+use GitDeploy\GitDeploy;
+
+class GitDeployTest extends \PHPUnit_Framework_TestCase
+{
+ protected $fixtures;
+
+ public function __construct() {
+ $this->fixtures = __DIR__ . '/Fixtures/';
+ }
+
+ public function testFromFile() {
+ $gitdeploy = GitDeploy::fromFile($this->fixtures . 'git-deploy.json');
+ $this->assertNotEmpty($gitdeploy);
+ }
+}