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
b306a0c7
Commit
b306a0c7
authored
Oct 29, 2018
by
Brett Walker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force spec to use format :html
parent
04320735
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
spec/controllers/groups/boards_controller_spec.rb
spec/controllers/groups/boards_controller_spec.rb
+1
-1
No files found.
spec/controllers/groups/boards_controller_spec.rb
View file @
b306a0c7
...
@@ -37,7 +37,7 @@ describe Groups::BoardsController do
...
@@ -37,7 +37,7 @@ describe Groups::BoardsController do
allow
(
visited
).
to
receive
(
:board_id
).
and_return
(
12
)
allow
(
visited
).
to
receive
(
:board_id
).
and_return
(
12
)
allow_any_instance_of
(
Boards
::
Visits
::
LatestService
).
to
receive
(
:execute
).
and_return
(
visited
)
allow_any_instance_of
(
Boards
::
Visits
::
LatestService
).
to
receive
(
:execute
).
and_return
(
visited
)
list_boards
list_boards
format: :html
expect
(
response
).
to
render_template
:index
expect
(
response
).
to
render_template
:index
expect
(
response
.
content_type
).
to
eq
'text/html'
expect
(
response
.
content_type
).
to
eq
'text/html'
...
...
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