Sha256: 06e8f8f0298c15127ac3518ed8346fdee3f2aafeb7c8afdcde99839f7b65c0a5
Contents?: true
Size: 508 Bytes
Versions: 51
Compression:
Stored size: 508 Bytes
Contents
require 'test_plugin_helper' class CockpitControllerTest < ActionController::TestCase def setup Setting::RemoteExecution.load_defaults as_admin do @host = FactoryBot.create(:host) end end test "should get host_ssh_params" do get :host_ssh_params, params: { id: @host.id }, session: set_session_user assert_response :success response = ActiveSupport::JSON.decode(@response.body) assert response.key?('ssh_user'), 'ssh_params response must include ssh_user' end end
Version data entries
51 entries across 51 versions & 1 rubygems