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
Tatuya Kamada
gitlab-ce
Commits
9bf51ae4
Commit
9bf51ae4
authored
Dec 08, 2015
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs caused by update of gitlab-test repo.
parent
bf17609e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
features/steps/project/source/browse_files.rb
features/steps/project/source/browse_files.rb
+1
-0
spec/controllers/projects/raw_controller_spec.rb
spec/controllers/projects/raw_controller_spec.rb
+1
-1
spec/support/test_env.rb
spec/support/test_env.rb
+2
-1
No files found.
features/steps/project/source/browse_files.rb
View file @
9bf51ae4
...
@@ -306,6 +306,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
...
@@ -306,6 +306,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end
end
step
'I click on "files/lfs/lfs_object.iso" file in repo'
do
step
'I click on "files/lfs/lfs_object.iso" file in repo'
do
visit
namespace_project_tree_path
(
@project
.
namespace
,
@project
,
"lfs"
)
click_link
'files'
click_link
'files'
click_link
"lfs"
click_link
"lfs"
click_link
"lfs_object.iso"
click_link
"lfs_object.iso"
...
...
spec/controllers/projects/raw_controller_spec.rb
View file @
9bf51ae4
...
@@ -35,7 +35,7 @@ describe Projects::RawController do
...
@@ -35,7 +35,7 @@ describe Projects::RawController do
end
end
context
'lfs object'
do
context
'lfs object'
do
let
(
:id
)
{
'
master
/files/lfs/lfs_object.iso'
}
let
(
:id
)
{
'
be93687
/files/lfs/lfs_object.iso'
}
let!
(
:lfs_object
)
{
create
(
:lfs_object
,
oid:
'91eff75a492a3ed0dfcb544d7f31326bc4014c8551849c192fd1e48d4dd2c897'
,
size:
'1575078'
)
}
let!
(
:lfs_object
)
{
create
(
:lfs_object
,
oid:
'91eff75a492a3ed0dfcb544d7f31326bc4014c8551849c192fd1e48d4dd2c897'
,
size:
'1575078'
)
}
context
'when project has access'
do
context
'when project has access'
do
...
...
spec/support/test_env.rb
View file @
9bf51ae4
...
@@ -12,7 +12,8 @@ module TestEnv
...
@@ -12,7 +12,8 @@ module TestEnv
'fix'
=>
'48f0be4'
,
'fix'
=>
'48f0be4'
,
'improve/awesome'
=>
'5937ac0'
,
'improve/awesome'
=>
'5937ac0'
,
'markdown'
=>
'0ed8c6c'
,
'markdown'
=>
'0ed8c6c'
,
'master'
=>
'be93687'
,
'lfs'
=>
'be93687'
,
'master'
=>
'5937ac0'
,
"'test'"
=>
'e56497b'
,
"'test'"
=>
'e56497b'
,
}
}
...
...
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