spec/rake/funnel/support/msbuild/build_tool_spec.rb in rake-funnel-0.3.2.pre vs spec/rake/funnel/support/msbuild/build_tool_spec.rb in rake-funnel-0.4.0.pre

- old
+ new

@@ -1,21 +1,21 @@ -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 +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