spec/rake/funnel/tasks/assembly_version_spec.rb in rake-funnel-0.6.1.pre vs spec/rake/funnel/tasks/assembly_version_spec.rb in rake-funnel-0.7.0.pre

- old
+ new

@@ -12,9 +12,15 @@ its(:source) { should == :FromVersionFiles } its(:source_args) { should == {} } its(:target_path) { should be_an_instance_of(Proc) } end + describe '#next_to_source' do + it 'should place VersionInfo next to source' do + expect(described_class.new.next_to_source(:cs, {}, 'blah/VERSION')).to eq('blah/VersionInfo.cs') + end + end + describe 'execution' do let(:writer) { instance_double(AssemblyVersionWriter).as_null_object } before { allow(AssemblyVersionWriter).to receive(:new).and_return(writer)