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
184f8baa
Commit
184f8baa
authored
Jun 30, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
satisfy rubocop
parent
21287f1b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
app/models/concerns/elastic/application_search.rb
app/models/concerns/elastic/application_search.rb
+1
-1
features/steps/shared/paths.rb
features/steps/shared/paths.rb
+1
-1
spec/lib/gitlab/backend/grack_auth_spec.rb
spec/lib/gitlab/backend/grack_auth_spec.rb
+1
-1
spec/mailers/notify_spec.rb
spec/mailers/notify_spec.rb
+1
-1
spec/models/historical_data_spec.rb
spec/models/historical_data_spec.rb
+1
-1
spec/services/projects/update_remote_mirror_service_spec.rb
spec/services/projects/update_remote_mirror_service_spec.rb
+1
-1
No files found.
app/models/concerns/elastic/application_search.rb
View file @
184f8baa
...
...
@@ -12,7 +12,7 @@ module Elastic
index:
{
analysis:
{
analyzer:
{
default
:{
default:
{
tokenizer:
"standard"
,
filter:
[
"standard"
,
"lowercase"
,
"my_stemmer"
]
}
...
...
features/steps/shared/paths.rb
View file @
184f8baa
...
...
@@ -52,7 +52,7 @@ module SharedPaths
end
step
'I visit group "Owned" LDAP settings page'
do
visit
group_ldap_group_links_path
(
Group
.
find_by
(
name
:"Owned"
))
visit
group_ldap_group_links_path
(
Group
.
find_by
(
name:
"Owned"
))
end
step
'I visit group "Owned" projects page'
do
...
...
spec/lib/gitlab/backend/grack_auth_spec.rb
View file @
184f8baa
...
...
@@ -130,7 +130,7 @@ describe Grack::Auth, lib: true do
context
"when authentication succeeds"
do
before
do
allow_any_instance_of
(
Grack
::
Auth
::
Request
).
to
receive
(
:spnego_credentials!
).
and_return
(
"mylogin@FOO.COM"
)
user
.
identities
.
build
(
provider:
"kerberos"
,
extern_uid
:"mylogin@FOO.COM"
).
save
user
.
identities
.
build
(
provider:
"kerberos"
,
extern_uid:
"mylogin@FOO.COM"
).
save
end
context
"when the user has access to the project"
do
...
...
spec/mailers/notify_spec.rb
View file @
184f8baa
...
...
@@ -1148,7 +1148,7 @@ describe Notify do
let
(
:example_site_path
)
{
root_path
}
let
(
:user
)
{
create
(
:user
)
}
subject
{
@email
=
Notify
.
send_admin_notification
(
user
.
id
,
'Admin announcement'
,
'Text'
)
}
subject
{
@email
=
Notify
.
send_admin_notification
(
user
.
id
,
'Admin announcement'
,
'Text'
)
}
it
'is sent as the author'
do
sender
=
subject
.
header
[
:from
].
addrs
[
0
]
...
...
spec/models/historical_data_spec.rb
View file @
184f8baa
...
...
@@ -27,7 +27,7 @@ describe HistoricalData do
describe
".track!"
do
before
do
allow
(
User
).
to
receive
(
:active
).
and_return
([
1
,
2
,
3
,
4
,
5
])
allow
(
User
).
to
receive
(
:active
).
and_return
([
1
,
2
,
3
,
4
,
5
])
end
it
"creates a new historical data record"
do
...
...
spec/services/projects/update_remote_mirror_service_spec.rb
View file @
184f8baa
...
...
@@ -115,7 +115,7 @@ describe Projects::UpdateRemoteMirrorService do
repository
.
rm_tag
(
'v1.0.0'
)
expect
(
repository
).
to
receive
(
:delete_remote_branches
).
with
(
project
.
path_with_namespace
,
remote_mirror
.
ref_name
,[
'v1.0.0'
]
project
.
path_with_namespace
,
remote_mirror
.
ref_name
,
[
'v1.0.0'
]
)
subject
.
execute
(
remote_mirror
)
...
...
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