Some new tests and fixes. [skip ci]

This commit is contained in:
James Cole
2014-07-23 06:57:51 +02:00
parent 9d142aa8b0
commit cc71a1116a
15 changed files with 397 additions and 97 deletions

View File

@@ -8,7 +8,7 @@ interface BudgetRepositoryInterface
public function getAsSelectList();
public function get();
public function create($data);
public function store($data);
public function find($id);

View File

@@ -18,7 +18,7 @@ class EloquentBudgetRepository implements BudgetRepositoryInterface
return $return;
}
public function create($data)
public function store($data)
{
$budget = new \Budget;
$budget->name = $data['name'];