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
e63d73cf
Commit
e63d73cf
authored
Dec 03, 2017
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add spec for boards_endpoint instance variable
parent
19dcb2da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
spec/controllers/projects/boards_controller_spec.rb
spec/controllers/projects/boards_controller_spec.rb
+6
-0
No files found.
spec/controllers/projects/boards_controller_spec.rb
View file @
e63d73cf
...
@@ -14,6 +14,12 @@ describe Projects::BoardsController do
...
@@ -14,6 +14,12 @@ describe Projects::BoardsController do
expect
{
list_boards
}.
to
change
(
project
.
boards
,
:count
).
by
(
1
)
expect
{
list_boards
}.
to
change
(
project
.
boards
,
:count
).
by
(
1
)
end
end
it
'sets boards_endpoint instance variable to a boards path'
do
list_boards
expect
(
assigns
(
:boards_endpoint
)).
to
eq
project_boards_path
(
project
)
end
context
'when format is HTML'
do
context
'when format is HTML'
do
it
'renders template'
do
it
'renders template'
do
list_boards
list_boards
...
...
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