Sha256: a5b301a48877a1f1f32244035c0398b3ad95ce58a0da8f3044d72679e2aa5a79
Contents?: true
Size: 481 Bytes
Versions: 10
Compression:
Stored size: 481 Bytes
Contents
describe Rake::Funnel::Support::MSBuild::BuildTool do before { allow(Rake::Win32).to receive(:windows?).and_return(windows?) } context 'on Windows', platform: :win32 do let(:windows?) { true } it 'should find msbuild.exe' do expect(described_class.find).to match(/msbuild\.exe$/) end end context 'not on Windows' do let(:windows?) { false } it 'should find xbuild' do expect(described_class.find).to eq('xbuild') end end end
Version data entries
10 entries across 10 versions & 1 rubygems