This commit also makes spec/policies/namespace_policy_spec.rb file to be compatible with the same file in GitLab EE.