mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
13 lines
386 B
Ruby
13 lines
386 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.feature 'swagger-ui', js: true do
|
|
|
|
scenario 'browsing api-docs' do
|
|
visit '/api-docs'
|
|
|
|
expect(page).to have_content('GET /blogs Searches blogs', normalize_ws: true)
|
|
expect(page).to have_content('POST /blogs Creates a blog', normalize_ws: true)
|
|
expect(page).to have_content('GET /blogs/{id} Retrieves a blog', normalize_ws: true)
|
|
end
|
|
end
|