Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego committed Mar 25, 2024
1 parent d6d2270 commit 592330e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/rails/doc/smart/expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ paths:
- Page
responses:
'422':
description: accepts missing avatar_url
description: return 422 HTML
content:
"text/html":
schema:
type: string
example: ""
example: "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n\n"
"/tables":
get:
summary: index
Expand Down
2 changes: 1 addition & 1 deletion spec/requests/rails_smart_merge_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@

RSpec.describe 'Pages', type: :request do
describe '#get' do
it 'accepts missing avatar_url' do
it 'return 422 HTML' do
get '/pages'
expect(response.status).to eq(422)
end
Expand Down

0 comments on commit 592330e

Please sign in to comment.