Skip to content

Commit

Permalink
Merge pull request #50 from philsturgeon/conflict-fix
Browse files Browse the repository at this point in the history
Conflict merge error.
  • Loading branch information
scottrobertson committed Jul 4, 2014
2 parents d567c32 + c4f29e2 commit 5530523
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 5530523

Please sign in to comment.