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
90ba3a38
Commit
90ba3a38
authored
Jan 26, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests for blobs refactoring
parent
ed913786
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
features/steps/project/source/browse_files.rb
features/steps/project/source/browse_files.rb
+1
-1
spec/routing/project_routing_spec.rb
spec/routing/project_routing_spec.rb
+5
-9
No files found.
features/steps/project/source/browse_files.rb
View file @
90ba3a38
...
...
@@ -78,7 +78,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end
step
'I click link "Diff"'
do
click_link
'
Diff
'
click_link
'
Preview changes
'
end
step
'I click on "Commit Changes"'
do
...
...
spec/routing/project_routing_spec.rb
View file @
90ba3a38
...
...
@@ -430,21 +430,17 @@ describe Projects::TreeController, 'routing' do
end
end
describe
Projects
::
EditTree
Controller
,
'routing'
do
it
'to #
show
'
do
describe
Projects
::
Blob
Controller
,
'routing'
do
it
'to #
edit
'
do
get
(
'/gitlab/gitlabhq/edit/master/app/models/project.rb'
).
should
(
route_to
(
'projects/
edit_tree#show
'
,
route_to
(
'projects/
blob#edit
'
,
project_id:
'gitlab/gitlabhq'
,
id:
'master/app/models/project.rb'
))
get
(
'/gitlab/gitlabhq/edit/master/app/models/project.rb/preview'
).
should
(
route_to
(
'projects/edit_tree#show'
,
project_id:
'gitlab/gitlabhq'
,
id:
'master/app/models/project.rb/preview'
))
end
it
'to #preview'
do
post
(
'/gitlab/gitlabhq/
edit/master/app/models/project.rb/preview
'
).
should
(
route_to
(
'projects/
edit_tree
#preview'
,
post
(
'/gitlab/gitlabhq/
preview/master/app/models/project.rb
'
).
should
(
route_to
(
'projects/
blob
#preview'
,
project_id:
'gitlab/gitlabhq'
,
id:
'master/app/models/project.rb'
))
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