You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by la...@apache.org on 2008/10/12 19:17:54 UTC
svn commit: r703850 - /incubator/buildr/trunk/spec/core/build_spec.rb
Author: lacton
Date: Sun Oct 12 10:17:54 2008
New Revision: 703850
URL: http://svn.apache.org/viewvc?rev=703850&view=rev
Log:
Deprecation test for Build.target method
Modified:
incubator/buildr/trunk/spec/core/build_spec.rb
Modified: incubator/buildr/trunk/spec/core/build_spec.rb
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/spec/core/build_spec.rb?rev=703850&r1=703849&r2=703850&view=diff
==============================================================================
--- incubator/buildr/trunk/spec/core/build_spec.rb (original)
+++ incubator/buildr/trunk/spec/core/build_spec.rb Sun Oct 12 10:17:54 2008
@@ -169,6 +169,10 @@
@project.layout[:target] = 'baz'
@project.target.should eql('baz')
end
+
+ it 'should be removed in version 1.5 since it was deprecated in version 1.3' do
+ Gem::Version.new(Buildr::VERSION).should < Gem::Version.new('1.5')
+ end
end