Sha256: 8fbe308747861654bdc2e2f5ff59d01cd402bd9ce41f9707ed7a7774a1401953
Contents?: true
Size: 504 Bytes
Versions: 104
Compression:
Stored size: 504 Bytes
Contents
# frozen_string_literal: true require 'test_plugin_helper' # functional tests for AnsibleRolesController class AnsibleRolesControllerTest < ActionController::TestCase setup do @role = FactoryBot.create(:ansible_role) end basic_index_test test 'should destroy role' do assert_difference('AnsibleRole.count', -1) do delete :destroy, :params => { :id => @role.id }, :session => set_session_user end assert_redirected_to ansible_roles_url end end
Version data entries
104 entries across 104 versions & 1 rubygems