mastodon/spec/controllers/api/v1/instances/rules_controller_spec.rb

16 lines
263 B
Ruby

# frozen_string_literal: true
require 'rails_helper'
describe Api::V1::Instances::RulesController do
render_views
describe 'GET #index' do
it 'returns http success' do
get :index
expect(response).to have_http_status(200)
end
end
end