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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
82cc38d7
Commit
82cc38d7
authored
Mar 15, 2017
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec
parent
80508577
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/projects/blame/show.html.haml
app/views/projects/blame/show.html.haml
+1
-1
features/steps/project/source/browse_files.rb
features/steps/project/source/browse_files.rb
+2
-2
No files found.
app/views/projects/blame/show.html.haml
View file @
82cc38d7
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
#blob-content-holder
.tree-holder
#blob-content-holder
.tree-holder
.file-holder
.file-holder
=
render
"projects/blob/header"
,
blob:
@blob
=
render
"projects/blob/header"
,
blob:
@blob
.table-responsive.file-content.blame.code.js-syntax-highlight
.table-responsive.file-content.blame.code.js-syntax-highlight
%table
%table
-
current_line
=
1
-
current_line
=
1
...
...
features/steps/project/source/browse_files.rb
View file @
82cc38d7
...
@@ -48,7 +48,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
...
@@ -48,7 +48,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end
end
step
'I click link "Raw"'
do
step
'I click link "Raw"'
do
click_link
'
R
aw'
click_link
'
Open r
aw'
end
end
step
'I should see raw file content'
do
step
'I should see raw file content'
do
...
@@ -356,7 +356,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
...
@@ -356,7 +356,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
step
'I should see buttons for allowed commands'
do
step
'I should see buttons for allowed commands'
do
page
.
within
'.content'
do
page
.
within
'.content'
do
expect
(
page
).
to
have_link
'
Download
raw'
expect
(
page
).
to
have_link
'
Open
raw'
expect
(
page
).
to
have_content
'History'
expect
(
page
).
to
have_content
'History'
expect
(
page
).
to
have_content
'Permalink'
expect
(
page
).
to
have_content
'Permalink'
expect
(
page
).
not_to
have_content
'Edit'
expect
(
page
).
not_to
have_content
'Edit'
...
...
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