public function test_gh107_has_many_though_include_eager_with_namespace() { $user = User::find(1, array('include' => array('newsletters'))); $this->assert_equals(1, $user->id); $this->assert_equals(1, $user->newsletters[0]->id); }
public function testGh107HasManyThoughIncludeEagerWithNamespace() { $user = User::find(1, array('include' => array('newsletters'))); $this->assertEquals(1, $user->id); $this->assertEquals(1, $user->newsletters[0]->id); }