Skip to content

Commit 89c9fee

Browse files
committed
push
1 parent b413582 commit 89c9fee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎spec/views/api/v2/error.json.jbuilder_spec.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@code = [200, 400, 404, 500].sample
99
@errors = [Faker::Lorem.sentence, Faker::Lorem.sentence]
1010

11-
assign :payload, { message: @errors }
11+
assign :payload, { errors: @errors }
1212

1313
@resp = OpenStruct.new(status: @code)
1414
@req = Net::HTTPGenericRequest.new('GET', nil, nil, @url)

0 commit comments

Comments
 (0)