spec/rake/funnel/tasks/msbuild_spec.rb in rake-funnel-0.20.1 vs spec/rake/funnel/tasks/msbuild_spec.rb in rake-funnel-0.20.2

- old
+ new

@@ -37,17 +37,22 @@ before do allow(subject).to receive(:sh) allow(Mapper).to receive(:new).and_return(mapper) allow(Finder).to receive(:new).and_return(finder) + allow(BuildTool).to receive(:find) end before do Task[subject.name].invoke end it 'should use solution finder' do expect(finder).to have_received(:single) + end + + it 'should use MSBuild finder' do + expect(BuildTool).to have_received(:find) end it 'should use MSBuild mapper' do expect(Mapper).to have_received(:new).with(:MSBuild) end