use hash rocket syntax for primary_resource test