Windows で ServerSpec を使用して、アプリケーションのインストールを検証しようとしています。Rubyファイルに次の行を書きました(Test.rbを使用)
require 'spec_helper'
set :backend, :cmd
set :os, :family => 'windows'
describe package('ApplicationCorePackage') do
it { should be_installed }
end
このようにスクリプトを実行しました。
rspec 'C:\Ruby Scripts\Test.rb' --format html --out 'C:\Ruby Scripts\Test.html'
それを正しくチェックしています。しかし、特定のバージョンの msi (Windows インストーラー パッケージ) を確認したい。serverspecでそれを行う方法は?