public function testAllowNoResource() { $editor = Role::factory('editor'); $a = Acl::factory($editor); $a->allow('editor', 'page'); $this->assertTrue($a->hasResource('page')); }