laracasts/TestDummy — pull request #55 by swekaj (2014-12-25 02:46:30+00:00)
Title: Only check the value for a relationship when the value is a string.

`$faker->datetime` returns a DateTime object, this causes an error to be thrown when it is passed to `preg_match()` in the `hasRelationshipAttribute()` method.