Commit 7774aad1 authored by Robert Speicher's avatar Robert Speicher

Correct EE-specific RSpec/DescribeSymbol cop violations

parent b2af746c
......@@ -188,7 +188,7 @@ describe Gitlab::LDAP::Access, lib: true do
end
end
describe :update_kerberos_identity do
describe '#update_kerberos_identity' do
let(:entry) do
Net::LDAP::Entry.from_single_ldif_string("dn: cn=foo, dc=bar, dc=com")
end
......@@ -227,7 +227,7 @@ describe Gitlab::LDAP::Access, lib: true do
end
end
describe :update_ssh_keys do
describe '#update_ssh_keys' do
let(:ssh_key) { "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCrSQHff6a1rMqBdHFt+FwIbytMZ+hJKN3KLkTtOWtSvNIriGhnTdn4rs+tjD/w+z+revytyWnMDM9dS7J8vQi006B16+hc9Xf82crqRoPRDnBytgAFFQY1G/55ql2zdfsC5yvpDOFzuwIJq5dNGsojS82t6HNmmKPq130fzsenFnj5v1pl3OJvk513oduUyKiZBGTroWTn7H/eOPtu7s9MD7pAdEjqYKFLeaKmyidiLmLqQlCRj3Tl2U9oyFg4PYNc0bL5FZJ/Z6t0Ds3i/a2RanQiKxrvgu3GSnUKMx7WIX373baL4jeM7cprRGiOY/1NcS+1cAjfJ8oaxQF/1dYj" }
let(:ssh_key_attribute_name) { 'altSecurityIdentities' }
let(:entry) do
......@@ -279,7 +279,7 @@ describe Gitlab::LDAP::Access, lib: true do
end
end
describe :update_user_email do
describe '#update_user_email' do
let(:entry) { Net::LDAP::Entry.new }
before do
......
......@@ -22,7 +22,7 @@ describe LdapGroupLink do
end
end
describe :provider do
describe 'provider' do
it "shows the set value" do
ldap_group_link.provider = '1235'
expect( ldap_group_link.provider ).to eql '1235'
......
......@@ -74,11 +74,11 @@ eos
)
end
describe :build_page do
describe '#build_page' do
it { expect(@service.build_page("2ab7834c", 'master')).to eq("http://jenkins.gitlab.org/job/#{project.name}_master/scm/bySHA1/2ab7834c") }
end
describe :build_page_with_branch do
describe '#build_page with branch' do
it { expect(@service.build_page("2ab7834c", 'test_branch')).to eq("http://jenkins.gitlab.org/job/#{project.name}_test_branch/scm/bySHA1/2ab7834c") }
end
end
......@@ -94,11 +94,11 @@ eos
)
end
describe :build_page do
describe '#build_page' do
it { expect(@service.build_page("2ab7834c", 'master')).to eq("http://jenkins.gitlab.org/job/2/scm/bySHA1/2ab7834c") }
end
describe :build_page_with_branch do
describe '#build_page with branch' do
it { expect(@service.build_page("2ab7834c", 'test_branch')).to eq("http://jenkins.gitlab.org/job/2/scm/bySHA1/2ab7834c") }
end
end
......
......@@ -13,7 +13,7 @@ describe MergeRequests::RebaseService do
project.team << [user, :master]
end
describe :execute do
describe '#execute' do
context 'valid params' do
let(:service) { MergeRequests::RebaseService.new(project, user, {}) }
......
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