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
11728851
Unverified
Commit
11728851
authored
Jun 12, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix blob highlight tests
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
86fa0740
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
multiselect_blob.feature
features/project/source/multiselect_blob.feature
+2
-4
paths.rb
features/steps/shared/paths.rb
+4
-0
No files found.
features/project/source/multiselect_blob.feature
View file @
11728851
...
...
@@ -2,8 +2,7 @@ Feature: Project Multiselect Blob
Background
:
Given
I sign in as a user
And
I own project
"Shop"
And
I visit project source page
And
I click on
"Gemfile.lock"
file in repo
And
I visit
"Gemfile.lock"
file in repo
@javascript
Scenario
:
I
click line 1 in file
...
...
@@ -83,4 +82,4 @@ Feature: Project Multiselect Blob
And
I go forward in history
And
I go forward in history
Then
I should see
"L1-5"
as URI fragment
And
I should see lines 1-5 highlighted
\ No newline at end of file
And
I should see lines 1-5 highlighted
features/steps/shared/paths.rb
View file @
11728851
...
...
@@ -264,6 +264,10 @@ module SharedPaths
visit
project_blob_path
(
@project
,
File
.
join
(
ValidCommit
::
ID
,
ValidCommit
::
BLOB_FILE_PATH
))
end
step
'I visit "Gemfile.lock" file in repo'
do
visit
project_blob_path
(
@project
,
File
.
join
(
root_ref
,
'Gemfile.lock'
))
end
step
'I visit project source page for "8470d70"'
do
visit
project_tree_path
(
@project
,
"8470d70"
)
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