Commit e2498f79 authored by Valery Sizov's avatar Valery Sizov

resolve spec/lib/gitlab/git_access_spec.rb correctly

parent 08a5ea0f
......@@ -236,7 +236,6 @@ describe Gitlab::GitAccess, lib: true do
permissions_matrix[role].each do |action, allowed|
context action do
subject { access.push_access_check(changes[action]) }
subject { access.push_access_check(changes[action]) }
it { expect(subject.allowed?).to allowed ? be_truthy : be_falsey }
......@@ -245,7 +244,6 @@ describe Gitlab::GitAccess, lib: true do
end
end
end
end
permissions_matrix = {
admin: {
......
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