diff options
author | Thong Kuah <tkuah@gitlab.com> | 2018-11-09 03:19:48 +0300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2018-11-09 03:19:48 +0300 |
commit | 03dba01273d548ab8c0dd82408400a834fb4e10f (patch) | |
tree | f5d5da30035fbfa84922d11b3328ed3866382914 /spec/controllers/boards | |
parent | ab61bee378ed45ff01d74742b54149533811a204 (diff) |
Revert "Extract code into IssueBoardEntity"
This reverts commit 8c126525faba40032244328187ba73a53b6eaf4c.
Diffstat (limited to 'spec/controllers/boards')
-rw-r--r-- | spec/controllers/boards/issues_controller_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/controllers/boards/issues_controller_spec.rb b/spec/controllers/boards/issues_controller_spec.rb index 6d0483f0032..98946e4287b 100644 --- a/spec/controllers/boards/issues_controller_spec.rb +++ b/spec/controllers/boards/issues_controller_spec.rb @@ -50,7 +50,7 @@ describe Boards::IssuesController do parsed_response = JSON.parse(response.body) - expect(response).to match_response_schema('entities/issue_boards') + expect(response).to match_response_schema('issues') expect(parsed_response['issues'].length).to eq 2 expect(development.issues.map(&:relative_position)).not_to include(nil) end @@ -121,7 +121,7 @@ describe Boards::IssuesController do parsed_response = JSON.parse(response.body) - expect(response).to match_response_schema('entities/issue_boards') + expect(response).to match_response_schema('issues') expect(parsed_response['issues'].length).to eq 2 end end @@ -168,7 +168,7 @@ describe Boards::IssuesController do it 'returns the created issue' do create_issue user: user, board: board, list: list1, title: 'New issue' - expect(response).to match_response_schema('entities/issue_board') + expect(response).to match_response_schema('issue') end end |