spec/rake/funnel/tasks/msbuild_spec.rb in rake-funnel-0.19.0 vs spec/rake/funnel/tasks/msbuild_spec.rb in rake-funnel-0.20.0
- old
+ new
@@ -13,17 +13,18 @@
describe 'defaults' do
its(:name) { should == :compile }
its(:project_or_solution) { should be_instance_of(Finder) }
its(:args) { should == {} }
its(:search_pattern) { should == %w(**/*.sln) }
+ its(:msbuild) { should be_nil }
- describe 'build tool' do
+ describe 'build tool finder' do
before do
allow(BuildTool).to receive(:find).and_return('build tool')
end
it 'should use build tool finder' do
- expect(subject.msbuild).to eq('build tool')
+ expect(subject.msbuild_finder.call).to eq('build tool')
end
end
end
describe 'execution' do