Permalink
Browse files

Version13

Just removing a no longer required method. Red -> Green -> REFACTOR.
  • Loading branch information...
jenkoian committed Jan 19, 2015
1 parent 802936f commit 50fce972753cab2f914a4569762bb4ba99d25b35
Showing with 0 additions and 19 deletions.
  1. +0 −8 spec/Jenko/House/HouseSpec.php
  2. +0 −11 src/Jenko/House/House.php
@@ -38,14 +38,6 @@ function it_should_build_with_locations()
$house->getLocations()->shouldEqual($locations);
}
function it_should_set_location()
{
$location = Room::named('living room');
$this->setLocation($location);
$this->whereAmI()->shouldBe($location);
}
function it_should_allow_entering_rooms()
{
$room = Room::named('kitchen');
View
@@ -41,17 +41,6 @@ public function getLocations()
return $this->locations;
}
/**
* @param Location $location
* @return $this
*/
public function setLocation(Location $location)
{
$this->currentLocation = $location;
return $this;
}
/**
* @return Location
*/

0 comments on commit 50fce97

Please sign in to comment.