[Test] ee/spec/policies/ci/build_policy_spec.rb | Ci::BuildPolicy behaves like a deployable job policy in EE #update_build? behaves like protected environments access when Protected Environments feature is available in the project when environment is p...
Test metadata (don't modify)
Field |
Value |
File URL |
ee/spec/policies/ci/build_policy_spec.rb#L6 |
Filename |
ee/spec/policies/ci/build_policy_spec.rb |
Description |
Ci::BuildPolicy behaves like a deployable job policy in EE #update_build? behaves like protected environments access when Protected Environments feature is available in the project when environment is protected with project-level protection behaves like authorize correctly per access type when user does not have access to the environment access_level: :admin, result: true is expected to eq true |
Test level |
unit |
Hash |
4109d146ef51ee8dd581e0ab67488755b323498e7 |
Reference duration |
0.33 seconds |
Expected duration |
< 45.4 seconds |