Commit e2498f79 authored by Valery Sizov's avatar Valery Sizov

resolve spec/lib/gitlab/git_access_spec.rb correctly

parent 08a5ea0f
......@@ -237,10 +237,8 @@ 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 }
end
it { expect(subject.allowed?).to allowed ? be_truthy : be_falsey }
end
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