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
36a26e78
Commit
36a26e78
authored
Oct 13, 2017
by
Oswaldo Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust board controller specs
parent
847eda33
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
spec/ee/spec/controllers/projects/boards_controller_spec.rb
spec/ee/spec/controllers/projects/boards_controller_spec.rb
+5
-1
spec/fixtures/api/schemas/board.json
spec/fixtures/api/schemas/board.json
+1
-0
No files found.
spec/ee/spec/controllers/projects/boards_controller_spec.rb
View file @
36a26e78
...
...
@@ -63,8 +63,12 @@ describe Projects::BoardsController do
it
'valid board is created'
do
create_board
create_params
board
=
Board
.
first
expect
(
Board
.
count
).
to
eq
(
1
)
expect
(
Board
.
first
).
to
have_attributes
(
create_params
)
expect
(
board
).
to
have_attributes
(
create_params
.
except
(
:assignee_id
))
expect
(
board
.
assignee
).
to
eq
(
user
)
end
end
...
...
spec/fixtures/api/schemas/board.json
View file @
36a26e78
...
...
@@ -7,6 +7,7 @@
"properties"
:
{
"id"
:
{
"type"
:
"integer"
},
"name"
:
{
"type"
:
"string"
},
"board_path"
:
{
"type"
:
[
"string"
,
"null"
]
},
"milestone"
:
{
"type"
:
[
"object"
,
"null"
],
"required"
:
[
...
...
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