extended_descriptions_spec.rb 398 B

123456789101112131415161718
  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. RSpec.describe 'Extended Descriptions' do
  4. describe 'GET /api/v1/instance/extended_description' do
  5. it 'returns http success' do
  6. get api_v1_instance_extended_description_path
  7. expect(response)
  8. .to have_http_status(200)
  9. expect(body_as_json)
  10. .to be_present
  11. .and include(:content)
  12. end
  13. end
  14. end