Sha256: c2f69c8b22c1f683b199aae1e9d71eaaaaddc606960719845b877b4df30f3917
Contents?: true
Size: 381 Bytes
Versions: 96
Compression:
Stored size: 381 Bytes
Contents
require 'test_plugin_helper' class UiAnsibleRolesControllerTest < ActionController::TestCase setup do @role = FactoryBot.create(:ansible_role) end test 'should respond with roles' do get :index, :params => {}, :session => set_session_user assert_response :success res = JSON.parse @response.body assert_equal res['total'], res['results'].size end end
Version data entries
96 entries across 96 versions & 1 rubygems