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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
40bca524
Commit
40bca524
authored
Jun 23, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix routing/controller specs for refactored controllers
parent
2ed7cbfb
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
100 additions
and
100 deletions
+100
-100
spec/controllers/blob_controller_spec.rb
spec/controllers/blob_controller_spec.rb
+1
-1
spec/controllers/commit_controller_spec.rb
spec/controllers/commit_controller_spec.rb
+1
-1
spec/controllers/commits_controller_spec.rb
spec/controllers/commits_controller_spec.rb
+1
-1
spec/controllers/merge_requests_controller_spec.rb
spec/controllers/merge_requests_controller_spec.rb
+2
-2
spec/controllers/tree_controller_spec.rb
spec/controllers/tree_controller_spec.rb
+1
-1
spec/routing/project_routing_spec.rb
spec/routing/project_routing_spec.rb
+94
-94
No files found.
spec/controllers/blob_controller_spec.rb
View file @
40bca524
require
'spec_helper'
describe
BlobController
do
describe
Projects
::
BlobController
do
let
(
:project
)
{
create
(
:project_with_code
)
}
let
(
:user
)
{
create
(
:user
)
}
...
...
spec/controllers/commit_controller_spec.rb
View file @
40bca524
require
'spec_helper'
describe
CommitController
do
describe
Projects
::
CommitController
do
let
(
:project
)
{
create
(
:project_with_code
)
}
let
(
:user
)
{
create
(
:user
)
}
let
(
:commit
)
{
project
.
repository
.
last_commit_for
(
"master"
)
}
...
...
spec/controllers/commits_controller_spec.rb
View file @
40bca524
require
'spec_helper'
describe
CommitsController
do
describe
Projects
::
CommitsController
do
let
(
:project
)
{
create
(
:project_with_code
)
}
let
(
:user
)
{
create
(
:user
)
}
...
...
spec/controllers/merge_requests_controller_spec.rb
View file @
40bca524
require
'spec_helper'
describe
MergeRequestsController
do
describe
Projects
::
MergeRequestsController
do
let
(
:project
)
{
create
(
:project_with_code
)
}
let
(
:user
)
{
create
(
:user
)
}
let
(
:merge_request
)
{
create
(
:merge_request_with_diffs
,
project:
project
,
target_branch:
"bcf03b5d~3"
,
source_branch:
"bcf03b5d"
)
}
...
...
@@ -8,7 +8,7 @@ describe MergeRequestsController do
before
do
sign_in
(
user
)
project
.
team
<<
[
user
,
:master
]
MergeRequestsController
.
any_instance
.
stub
(
validates_merge_request:
true
)
Projects
::
MergeRequestsController
.
any_instance
.
stub
(
validates_merge_request:
true
)
end
describe
"#show"
do
...
...
spec/controllers/tree_controller_spec.rb
View file @
40bca524
require
'spec_helper'
describe
TreeController
do
describe
Projects
::
TreeController
do
let
(
:project
)
{
create
(
:project_with_code
)
}
let
(
:user
)
{
create
(
:user
)
}
...
...
spec/routing/project_routing_spec.rb
View file @
40bca524
This diff is collapsed.
Click to expand it.
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