Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Commit

Permalink
Updated dependencies. Closes #3.
Browse files Browse the repository at this point in the history
  • Loading branch information
Erin Millard committed Jul 11, 2012
1 parent 9449a22 commit 1bd4a96
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 27 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
],
"require": {
"php": ">=5.3.0",
"IcecaveStudios/isolator": "*@dev"
"IcecaveStudios/isolator": "1.*"
},
"require-dev": {
"eloquent/pops": "1.*",
"phake/phake": "*@dev"
},
"autoload": {
Expand Down
11 changes: 2 additions & 9 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions src/Eloquent/Asplode/Asplode.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ public static function instance()

public function __construct(Isolator $isolator = null)
{
if (null === $isolator) {
$isolator = Isolator::getIsolator();
}

$this->isolator = $isolator;
$this->isolator = Isolator::get($isolator);
}

public function install()
Expand Down
11 changes: 0 additions & 11 deletions test/suite/Eloquent/Asplode/AsplodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
namespace Eloquent\Asplode;

use Eloquent\Asplode\Test\TestCase;
use Eloquent\Pops\Access\Pops;
use Phake;

/**
Expand All @@ -29,16 +28,6 @@ protected function setUp()
$this->_asplode = new Asplode($this->_isolator);
}

public function testDefaultIsolator()
{
$this->_asplode = new Asplode;

$this->assertInstanceOf(
'IcecaveStudios\Isolator\Isolator',
Pops::proxy($this->_asplode)->isolator
);
}

public function testInstall()
{
Phake::when($this->_isolator)
Expand Down

0 comments on commit 1bd4a96

Please sign in to comment.