Skip to content

Commit

Permalink
Conflict merge error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Sturgeon committed Jul 4, 2014
1 parent 1d2fbf4 commit c4f29e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Zizaco/FactoryMuff/Kind/Generic.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Zizaco\FactoryMuff\Kind;

use InvalidArgumentException;
use Zizaco\FactoryMuff\Kind;

class Generic extends Kind
Expand Down
8 changes: 8 additions & 0 deletions tests/FactoryMuffTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,14 @@ public function test_should_create_based_on_define_declaration()
$obj = $this->factory->create('SampleModelA');

$this->assertEquals('just a string', $obj->text);

$this->factory->define('SampleModelA', array(
'text' => 'sneakyString',
));

$obj = $this->factory->create('SampleModelA');

$this->assertEquals('sneakyString', $obj->text);
}

public function test_faker_default_boolean()
Expand Down

0 comments on commit c4f29e2

Please sign in to comment.