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
e07de689
Commit
e07de689
authored
Sep 01, 2018
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into ce-to-ee-2018-09-01
parents
0557ac5c
ba99dfcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
spec/features/merge_request/user_sees_diff_spec.rb
spec/features/merge_request/user_sees_diff_spec.rb
+2
-1
No files found.
spec/features/merge_request/user_sees_diff_spec.rb
View file @
e07de689
...
@@ -122,7 +122,7 @@ describe 'Merge request > User sees diff', :js do
...
@@ -122,7 +122,7 @@ describe 'Merge request > User sees diff', :js do
}
}
CONTENT
CONTENT
file_name
=
'xss_file.
txt
'
file_name
=
'xss_file.
rs
'
create_file
(
'master'
,
file_name
,
file_content
)
create_file
(
'master'
,
file_name
,
file_content
)
merge_request
=
create
(
:merge_request
,
source_project:
project
)
merge_request
=
create
(
:merge_request
,
source_project:
project
)
...
@@ -133,6 +133,7 @@ describe 'Merge request > User sees diff', :js do
...
@@ -133,6 +133,7 @@ describe 'Merge request > User sees diff', :js do
visit
diffs_project_merge_request_path
(
project
,
merge_request
)
visit
diffs_project_merge_request_path
(
project
,
merge_request
)
expect
(
page
).
to
have_text
(
"function foo<input> {"
)
expect
(
page
).
to
have_text
(
"function foo<input> {"
)
expect
(
page
).
to
have_css
(
".line[lang='rust'] .k"
)
end
end
end
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