Commit 748dd35c authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix spec failures

parent 5790684d
......@@ -171,7 +171,7 @@ describe Gitlab::Auth, lib: true do
def full_authentication_abilities
read_authentication_abilities + [
:push_code,
:update_container_image
:create_container_image
]
end
end
......@@ -8,7 +8,7 @@ describe Ci::Build, models: true do
it 'obfuscates project runners token' do
allow(build).to receive(:raw_trace).and_return("Test: #{build.project.runners_token}")
expect(build.trace).to eq("Test: xxxxxx")
expect(build.trace).to eq("Test: xxxxxxxxxxxxxxxxxxxx")
end
it 'empty project runners token' do
......
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