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
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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
blob_controller_spec.rb
spec/controllers/blob_controller_spec.rb
+1
-1
commit_controller_spec.rb
spec/controllers/commit_controller_spec.rb
+1
-1
commits_controller_spec.rb
spec/controllers/commits_controller_spec.rb
+1
-1
merge_requests_controller_spec.rb
spec/controllers/merge_requests_controller_spec.rb
+2
-2
tree_controller_spec.rb
spec/controllers/tree_controller_spec.rb
+1
-1
project_routing_spec.rb
spec/routing/project_routing_spec.rb
+0
-0
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