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
4361c92b
Commit
4361c92b
authored
Jan 11, 2019
by
Jasper Maes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update gitlab-styles to 2.5.1
parent
f5dd9107
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
12 deletions
+17
-12
Gemfile.lock
Gemfile.lock
+1
-1
changelogs/unreleased/update-gitlab-styles.yml
changelogs/unreleased/update-gitlab-styles.yml
+5
-0
spec/controllers/omniauth_callbacks_controller_spec.rb
spec/controllers/omniauth_callbacks_controller_spec.rb
+2
-2
spec/controllers/projects/issues_controller_spec.rb
spec/controllers/projects/issues_controller_spec.rb
+3
-3
spec/features/dashboard/todos/todos_spec.rb
spec/features/dashboard/todos/todos_spec.rb
+1
-1
spec/views/help/instance_configuration.html.haml_spec.rb
spec/views/help/instance_configuration.html.haml_spec.rb
+3
-3
spec/views/projects/commit/show.html.haml_spec.rb
spec/views/projects/commit/show.html.haml_spec.rb
+2
-2
No files found.
Gemfile.lock
View file @
4361c92b
...
...
@@ -282,7 +282,7 @@ GEM
gitlab-markup (1.6.5)
gitlab-sidekiq-fetcher (0.4.0)
sidekiq (~> 5)
gitlab-styles (2.
4
.1)
gitlab-styles (2.
5
.1)
rubocop (~> 0.54.0)
rubocop-gitlab-security (~> 0.1.0)
rubocop-rspec (~> 1.19)
...
...
changelogs/unreleased/update-gitlab-styles.yml
0 → 100644
View file @
4361c92b
---
title
:
Update gitlab-styles to 2.5.1
merge_request
:
24336
author
:
Jasper Maes
type
:
other
spec/controllers/omniauth_callbacks_controller_spec.rb
View file @
4361c92b
...
...
@@ -55,7 +55,7 @@ describe OmniauthCallbacksController, type: :controller do
context
'when a redirect url is stored'
do
it
'redirects with fragment'
do
post
provider
,
nil
,
{
user_return_to:
'/fake/url'
}
post
provider
,
session:
{
user_return_to:
'/fake/url'
}
expect
(
response
).
to
redirect_to
(
'/fake/url#L101'
)
end
...
...
@@ -63,7 +63,7 @@ describe OmniauthCallbacksController, type: :controller do
context
'when a redirect url with a fragment is stored'
do
it
'redirects with the new fragment'
do
post
provider
,
nil
,
{
user_return_to:
'/fake/url#replaceme'
}
post
provider
,
session:
{
user_return_to:
'/fake/url#replaceme'
}
expect
(
response
).
to
redirect_to
(
'/fake/url#L101'
)
end
...
...
spec/controllers/projects/issues_controller_spec.rb
View file @
4361c92b
...
...
@@ -1086,9 +1086,9 @@ describe Projects::IssuesController do
end
def
import_csv
post
:import_csv
,
namespace_id:
project
.
namespace
.
to_param
,
project_id:
project
.
to_param
,
file:
file
post
:import_csv
,
params:
{
namespace_id:
project
.
namespace
.
to_param
,
project_id:
project
.
to_param
,
file:
file
}
end
end
...
...
spec/features/dashboard/todos/todos_spec.rb
View file @
4361c92b
...
...
@@ -332,7 +332,7 @@ describe 'Dashboard Todos' do
it
'links to the pipelines for the merge request'
do
href
=
pipelines_project_merge_request_path
(
project
,
todo
.
target
)
expect
(
page
).
to
have_link
"merge request
#{
todo
.
target
.
to_reference
(
full:
true
)
}
"
,
href
expect
(
page
).
to
have_link
"merge request
#{
todo
.
target
.
to_reference
(
full:
true
)
}
"
,
href
:
href
end
end
end
spec/views/help/instance_configuration.html.haml_spec.rb
View file @
4361c92b
...
...
@@ -13,9 +13,9 @@ describe 'help/instance_configuration' do
it
'has links to several sections'
do
render
expect
(
rendered
).
to
have_link
(
nil
,
'#ssh-host-keys-fingerprints'
)
if
ssh_settings
.
any?
expect
(
rendered
).
to
have_link
(
nil
,
'#gitlab-pages'
)
expect
(
rendered
).
to
have_link
(
nil
,
'#gitlab-ci'
)
expect
(
rendered
).
to
have_link
(
nil
,
href:
'#ssh-host-keys-fingerprints'
)
if
ssh_settings
.
any?
expect
(
rendered
).
to
have_link
(
nil
,
href:
'#gitlab-pages'
)
expect
(
rendered
).
to
have_link
(
nil
,
href:
'#gitlab-ci'
)
end
it
'has several sections'
do
...
...
spec/views/projects/commit/show.html.haml_spec.rb
View file @
4361c92b
...
...
@@ -54,9 +54,9 @@ describe 'projects/commit/show.html.haml' do
end
it
'shows that it is in the context of a merge request'
do
merge_request_url
=
diffs_project_merge_request_
url
(
project
,
merge_request
,
commit_id:
commit
.
id
)
merge_request_url
=
diffs_project_merge_request_
path
(
project
,
merge_request
,
commit_id:
commit
.
id
)
expect
(
rendered
).
to
have_content
(
"This commit is part of merge request"
)
expect
(
rendered
).
to
have_link
(
merge_request
.
to_reference
,
merge_request_url
)
expect
(
rendered
).
to
have_link
(
merge_request
.
to_reference
,
href:
merge_request_url
)
end
end
end
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