domain_blocks_controller_spec.rb 311 B

12345678910111213141516
  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. describe Api::V1::Instances::DomainBlocksController do
  4. render_views
  5. describe 'GET #index' do
  6. it 'returns http success' do
  7. Setting.show_domain_blocks = 'all'
  8. get :index
  9. expect(response).to have_http_status(200)
  10. end
  11. end
  12. end