Commit d5f5d147 authored by Michael Kozono's avatar Michael Kozono

Rename method according to new role name

parent 01400a08
...@@ -64,13 +64,13 @@ module QA ...@@ -64,13 +64,13 @@ module QA
page.select_branch(branch_name) page.select_branch(branch_name)
if allow_to_push if allow_to_push
page.allow_devs_and_masters_to_push page.allow_devs_and_maintainers_to_push
else else
page.allow_no_one_to_push page.allow_no_one_to_push
end end
if allow_to_merge if allow_to_merge
page.allow_devs_and_masters_to_merge page.allow_devs_and_maintainers_to_merge
else else
page.allow_no_one_to_merge page.allow_no_one_to_merge
end end
......
...@@ -40,7 +40,7 @@ module QA ...@@ -40,7 +40,7 @@ module QA
click_allow(:push, 'No one') click_allow(:push, 'No one')
end end
def allow_devs_and_masters_to_push def allow_devs_and_maintainers_to_push
click_allow(:push, 'Developers + Maintainers') click_allow(:push, 'Developers + Maintainers')
end end
...@@ -48,7 +48,7 @@ module QA ...@@ -48,7 +48,7 @@ module QA
click_allow(:merge, 'No one') click_allow(:merge, 'No one')
end end
def allow_devs_and_masters_to_merge def allow_devs_and_maintainers_to_merge
click_allow(:merge, 'Developers + Maintainers') click_allow(:merge, 'Developers + Maintainers')
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment