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
f731241a
Commit
f731241a
authored
Feb 16, 2021
by
charlie ablett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some comments for clarity
parent
543193af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ee/spec/controllers/groups/epic_boards_controller_spec.rb
ee/spec/controllers/groups/epic_boards_controller_spec.rb
+2
-0
No files found.
ee/spec/controllers/groups/epic_boards_controller_spec.rb
View file @
f731241a
...
@@ -64,6 +64,7 @@ RSpec.describe Groups::EpicBoardsController do
...
@@ -64,6 +64,7 @@ RSpec.describe Groups::EpicBoardsController do
context
'when format is HTML'
do
context
'when format is HTML'
do
it
'renders template'
do
it
'renders template'
do
# epic board visits not supported yet
# epic board visits not supported yet
# https://gitlab.com/gitlab-org/gitlab/-/issues/321625
expect
{
read_board
board:
board
}.
not_to
change
(
BoardGroupRecentVisit
,
:count
)
expect
{
read_board
board:
board
}.
not_to
change
(
BoardGroupRecentVisit
,
:count
)
expect
(
response
).
to
render_template
:show
expect
(
response
).
to
render_template
:show
...
@@ -74,6 +75,7 @@ RSpec.describe Groups::EpicBoardsController do
...
@@ -74,6 +75,7 @@ RSpec.describe Groups::EpicBoardsController do
let
(
:group
)
{
private_group
}
let
(
:group
)
{
private_group
}
before
do
before
do
# sign in some other user not in the private group
sign_in
(
other_user
)
sign_in
(
other_user
)
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