Specs api v1 controllers (#23930)
This commit is contained in:
parent
cd99fa8ceb
commit
ad585fb195
25 changed files with 537 additions and 0 deletions
15
spec/controllers/api/v1/instances/rules_controller_spec.rb
Normal file
15
spec/controllers/api/v1/instances/rules_controller_spec.rb
Normal file
|
@ -0,0 +1,15 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue