JeffreyWay/Laravel-Test-Helpers — pull request #8 by sorora (2013-06-01 00:43:47+00:00)
Title: Fixed not accepting multiple args in relationships

A fix for the issue of it currently not likely when relationships have more than one argument defined (e.g. belongsTo('table', 'key') would fail the validation).

This fix checks how many arguments the parameter provides, and then does the check to see if the "model" bit matches the expected, while just providing the normal arguments back as is.