Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7774aad1
Commit
7774aad1
authored
Apr 08, 2017
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct EE-specific RSpec/DescribeSymbol cop violations
parent
b2af746c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
spec/lib/gitlab/ldap/access_spec.rb
spec/lib/gitlab/ldap/access_spec.rb
+3
-3
spec/models/ldap_group_link_spec.rb
spec/models/ldap_group_link_spec.rb
+1
-1
spec/models/project_services/jenkins_deprecated_service_spec.rb
...odels/project_services/jenkins_deprecated_service_spec.rb
+4
-4
spec/services/merge_requests/rebase_service_spec.rb
spec/services/merge_requests/rebase_service_spec.rb
+1
-1
No files found.
spec/lib/gitlab/ldap/access_spec.rb
View file @
7774aad1
...
...
@@ -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
...
...
spec/models/ldap_group_link_spec.rb
View file @
7774aad1
...
...
@@ -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'
...
...
spec/models/project_services/jenkins_deprecated_service_spec.rb
View file @
7774aad1
...
...
@@ -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
...
...
spec/services/merge_requests/rebase_service_spec.rb
View file @
7774aad1
...
...
@@ -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
,
{})
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment