Sha256: 78432fa7275c104b531a7528a68f9217c302b233c4cffbd9d186f66866b8a914

Contents?: true

Size: 596 Bytes

Versions: 1

Compression:

Stored size: 596 Bytes

Contents

# encoding: UTF-8

require 'winrm/wsmv/configuration'

describe WinRM::WSMV::Configuration do
  subject do
    described_class.new(default_connection_opts)
  end
  let(:xml) { subject.build }
  it 'creates a well formed message' do
    expect(xml).to include('<w:OperationTimeout>PT60S</w:OperationTimeout>')
    expect(xml).to include('<a:Action mustUnderstand="true">' \
      'http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</a:Action>')
    expect(xml).to include('w:ResourceURI mustUnderstand="true">' \
      'http://schemas.microsoft.com/wbem/wsman/1/config</w:ResourceURI>')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
winrm-2.1.0 tests/spec/wsmv/configuration_spec.rb