Permalink
Browse files

Version9

A minor change to the behat context to ensure room can be entered
through their name.
  • Loading branch information...
jenkoian committed Jan 19, 2015
1 parent d125b4a commit 1cd52fe156bfd5a93118aac5348988d08142d028
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/contexts/HomeOwnerContext.php
@@ -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());
}
/**

0 comments on commit 1cd52fe

Please sign in to comment.