BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
d1fdefee
Commit
d1fdefee
authored
Jun 01, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into downcase-registry-repository
parents
6e58e7ff
0f96a6c2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
4 deletions
+28
-4
merge_requests.scss
app/assets/stylesheets/pages/merge_requests.scss
+24
-1
commit_range_spec.rb
spec/models/commit_range_spec.rb
+3
-2
note_spec.rb
spec/models/note_spec.rb
+1
-1
No files found.
app/assets/stylesheets/pages/merge_requests.scss
View file @
d1fdefee
...
...
@@ -41,7 +41,7 @@
margin
:
0
;
margin-left
:
20px
;
padding
:
5px
;
padding-top
:
12
px
;
padding-top
:
8
px
;
line-height
:
20px
;
&
.right
{
...
...
@@ -110,6 +110,29 @@
p
:last-child
{
margin-bottom
:
0
;
}
@media
(
max-width
:
$screen-sm-max
)
{
h4
{
font-size
:
15px
;
}
p
{
font-size
:
13px
;
}
.btn
,
.btn-group
,
.accept-action
{
width
:
100%
;
margin-bottom
:
4px
;
}
.accept-control
{
width
:
100%
;
text-align
:
center
;
margin
:
0
;
}
}
}
.mr-widget-footer
{
...
...
spec/models/commit_range_spec.rb
View file @
d1fdefee
...
...
@@ -151,9 +151,10 @@ describe CommitRange, models: true do
issue
=
create
(
:issue
)
create
(
:note_on_issue
,
noteable
_id:
issue
.
id
,
noteable
:
issue
,
system:
true
,
note:
commit1
.
revert_description
)
note:
commit1
.
revert_description
,
project:
issue
.
project
)
expect_any_instance_of
(
Commit
).
to
receive
(
:reverts_commit?
).
with
(
commit1
).
...
...
spec/models/note_spec.rb
View file @
d1fdefee
...
...
@@ -154,7 +154,7 @@ describe Note, models: true do
context
"confidential issues"
do
let
(
:user
)
{
create
:user
}
let
(
:confidential_issue
)
{
create
(
:issue
,
:confidential
,
author:
user
)
}
let
(
:confidential_note
)
{
create
:note
,
note:
"Random"
,
noteable:
confidential_issue
}
let
(
:confidential_note
)
{
create
:note
,
note:
"Random"
,
noteable:
confidential_issue
,
project:
confidential_issue
.
project
}
it
"returns notes with matching content if user can see the issue"
do
expect
(
described_class
.
search
(
confidential_note
.
note
,
as_user:
user
)).
to
eq
([
confidential_note
])
...
...
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