Remove author. Replace Result to Got.
This commit is contained in:
parent
359d72ba3e
commit
043f1b8232
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
---
|
---
|
||||||
title: Use authorize_update_pipeline_schedule in PipelineSchedulesController
|
title: Use authorize_update_pipeline_schedule in PipelineSchedulesController
|
||||||
merge_request: 11846
|
merge_request: 11846
|
||||||
author: dosuken123
|
author:
|
||||||
|
|
|
@ -41,7 +41,7 @@ module AccessMatchersForController
|
||||||
|
|
||||||
def description_for(role, type, expected, result)
|
def description_for(role, type, expected, result)
|
||||||
"be #{type} for #{role}." \
|
"be #{type} for #{role}." \
|
||||||
" Expected: #{expected.join(',')} Result: #{result}"
|
" Expected: #{expected.join(',')} Got: #{result}"
|
||||||
end
|
end
|
||||||
|
|
||||||
matcher :be_allowed_for do |role|
|
matcher :be_allowed_for do |role|
|
||||||
|
|
Loading…
Reference in a new issue