Sha256: fe3f74e21a69d14b2acaf80730f82075759c9d6365158d4f956a1cb7ac7dd5c4

Contents?: true

Size: 292 Bytes

Versions: 4

Compression:

Stored size: 292 Bytes

Contents

require 'spec_helper'

describe "Test remote WQL features via WinRM" do
  before(:all) do
    @winrm = winrm_connection
  end

  it 'should run a WQL query against Win32_Service' do
    output = @winrm.run_wql('select Name,Status from Win32_Service')
    output.should_not be_empty
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
winrm-1.0.3 test/spec/wql_spec.rb
winrm-1.0.2 test/spec/wql_spec.rb
winrm-1.0.1 test/spec/wql_spec.rb
winrm-1.0.0 test/spec/wql_spec.rb