about summary refs log tree commit diff
path: root/spec/controllers/api/v1/instances/domain_blocks_controller_spec.rb
blob: 08f505c3d4e17187863fee022a8fd44a1885d0dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

require 'rails_helper'

describe Api::V1::Instances::DomainBlocksController do
  render_views

  describe 'GET #index' do
    it 'returns http success' do
      Setting.show_domain_blocks = 'all'
      get :index

      expect(response).to have_http_status(200)
    end
  end
end