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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
92bbcbc3
Commit
92bbcbc3
authored
Nov 08, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in spec/routing/group_routing_spec.rb
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
99c23eee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
15 deletions
+14
-15
spec/routing/group_routing_spec.rb
spec/routing/group_routing_spec.rb
+14
-15
No files found.
spec/routing/group_routing_spec.rb
View file @
92bbcbc3
require
'spec_helper'
<<<<<<<
HEAD
describe
'Group routing'
do
describe
'subgroup "boards"'
do
it
'shows group show page'
do
allow
(
Group
).
to
receive
(
:find_by_full_path
).
with
(
'gitlabhq/boards'
,
any_args
).
and_return
(
true
)
expect
(
get
(
'/groups/gitlabhq/boards'
)).
to
route_to
(
'groups#show'
,
id:
'gitlabhq/boards'
)
end
it
'shows boards index page'
do
allow
(
Group
).
to
receive
(
:find_by_full_path
).
with
(
'gitlabhq'
,
any_args
).
and_return
(
true
)
expect
(
get
(
'/groups/gitlabhq/-/boards'
)).
to
route_to
(
'groups/boards#index'
,
group_id:
'gitlabhq'
)
=======
describe
"Groups"
,
"routing"
do
let
(
:group_path
)
{
'complex.group-namegit'
}
let!
(
:group
)
{
create
(
:group
,
path:
group_path
)
}
...
...
@@ -136,7 +122,20 @@ describe "Groups", "routing" do
let!
(
:parent
)
{
create
(
:group
,
path:
'activity'
)
}
let
(
:resource
)
{
create
(
:group
,
parent:
parent
,
path:
'activity'
)
}
end
>>>>>>>
upstream
/
master
end
describe
'subgroup "boards"'
do
it
'shows group show page'
do
allow
(
Group
).
to
receive
(
:find_by_full_path
).
with
(
'gitlabhq/boards'
,
any_args
).
and_return
(
true
)
expect
(
get
(
'/groups/gitlabhq/boards'
)).
to
route_to
(
'groups#show'
,
id:
'gitlabhq/boards'
)
end
it
'shows boards index page'
do
allow
(
Group
).
to
receive
(
:find_by_full_path
).
with
(
'gitlabhq'
,
any_args
).
and_return
(
true
)
expect
(
get
(
'/groups/gitlabhq/-/boards'
)).
to
route_to
(
'groups/boards#index'
,
group_id:
'gitlabhq'
)
end
end
end
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