Sha256: d862406ad1d6a3e8aee572c046a594c747d829c6dd8b558d49bfadab87a7f881
Contents?: true
Size: 457 Bytes
Versions: 12
Compression:
Stored size: 457 Bytes
Contents
# encoding: utf-8 return unless os.windows? # script that may have multiple lines vbscript = <<-EOH WScript.Echo "hello" EOH describe vbscript(vbscript) do its('stdout') { should eq "hello\r\n" } end # remove whitespace \r\n from stdout describe vbscript(vbscript) do its('strip') { should eq "hello" } end # ensure that we do not require a newline describe vbscript("Wscript.Stdout.Write \"hello\"") do its('stdout') { should eq 'hello' } end
Version data entries
12 entries across 12 versions & 1 rubygems