|
36 | 36 | { |
37 | 37 | 'status' => '422', |
38 | 38 | 'source' => { 'pointer' => '' }, |
39 | | - 'title' => 'Unprocessable Entity', |
| 39 | + 'title' => 'Unprocessable Content', |
40 | 40 | 'detail' => nil, |
41 | 41 | 'code' => nil |
42 | 42 | } |
|
63 | 63 | { |
64 | 64 | 'status' => '422', |
65 | 65 | 'source' => { 'pointer' => '/data/relationships/user' }, |
66 | | - 'title' => 'Unprocessable Entity', |
| 66 | + 'title' => 'Unprocessable Content', |
67 | 67 | 'detail' => expected_detail, |
68 | 68 | 'code' => 'blank' |
69 | 69 | } |
|
85 | 85 | { |
86 | 86 | 'status' => '422', |
87 | 87 | 'source' => { 'pointer' => '/data/attributes/title' }, |
88 | | - 'title' => 'Unprocessable Entity', |
| 88 | + 'title' => 'Unprocessable Content', |
89 | 89 | 'detail' => 'Title is invalid', |
90 | 90 | 'code' => 'invalid' |
91 | 91 | }, |
92 | 92 | { |
93 | 93 | 'status' => '422', |
94 | 94 | 'source' => { 'pointer' => '/data/attributes/title' }, |
95 | | - 'title' => 'Unprocessable Entity', |
| 95 | + 'title' => 'Unprocessable Content', |
96 | 96 | 'detail' => 'Title has typos', |
97 | 97 | 'code' => 'invalid' |
98 | 98 | }, |
99 | 99 | { |
100 | 100 | 'status' => '422', |
101 | 101 | 'source' => { 'pointer' => '/data/attributes/quantity' }, |
102 | | - 'title' => 'Unprocessable Entity', |
| 102 | + 'title' => 'Unprocessable Content', |
103 | 103 | 'detail' => 'Quantity must be less than 100', |
104 | 104 | 'code' => 'less_than' |
105 | 105 | } |
|
121 | 121 | { |
122 | 122 | 'status' => '422', |
123 | 123 | 'source' => { 'pointer' => '' }, |
124 | | - 'title' => 'Unprocessable Entity', |
| 124 | + 'title' => 'Unprocessable Content', |
125 | 125 | 'detail' => 'Title has slurs', |
126 | 126 | 'code' => 'title_has_slurs' |
127 | 127 | } |
|
144 | 144 | { |
145 | 145 | 'status' => '422', |
146 | 146 | 'source' => { 'pointer' => '/data/attributes/title' }, |
147 | | - 'title' => 'Unprocessable Entity', |
| 147 | + 'title' => 'Unprocessable Content', |
148 | 148 | 'detail' => nil, |
149 | 149 | 'code' => nil |
150 | 150 | } |
|
0 commit comments