Skip to content

Commit

Permalink
Version9
Browse files Browse the repository at this point in the history
A minor change to the behat context to ensure room can be entered
through their name.
  • Loading branch information
jenkoian committed Jan 20, 2015
1 parent d125b4a commit 1cd52fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/contexts/HomeOwnerContext.php
Expand Up @@ -50,7 +50,7 @@ public function iEnterThroughTheFrontDoor()
public function iShouldBeInThe($location)
{
$whereAmI = $this->house->whereAmI();
PHPUnit_Framework_Assert::assertEquals(Room::named($location), $whereAmI);
PHPUnit_Framework_Assert::assertEquals($location, $whereAmI->getName());
}

/**
Expand Down

0 comments on commit 1cd52fe

Please sign in to comment.