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/13 21:55:40 UTC
svn commit: r704218 -
/incubator/buildr/trunk/spec/core/artifact_namespace_spec.rb
Author: lacton
Date: Mon Oct 13 12:55:40 2008
New Revision: 704218
URL: http://svn.apache.org/viewvc?rev=704218&view=rev
Log:
Method CompileTask.classpath is deprecated. Replaced with #dependencies.
Modified:
incubator/buildr/trunk/spec/core/artifact_namespace_spec.rb
Modified: incubator/buildr/trunk/spec/core/artifact_namespace_spec.rb
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/spec/core/artifact_namespace_spec.rb?rev=704218&r1=704217&r2=704218&view=diff
==============================================================================
--- incubator/buildr/trunk/spec/core/artifact_namespace_spec.rb (original)
+++ incubator/buildr/trunk/spec/core/artifact_namespace_spec.rb Mon Oct 13 12:55:40 2008
@@ -464,7 +464,7 @@
artifact_ns.use 'some:other:jar:1.0'
artifact_ns.use 'bat:man:jar:1.0'
compile.with :cool, :other, :'bat:man:jar'
- compile.classpath.map(&:to_spec).should include('cool:aid:jar:1.0', 'some:other:jar:1.0', 'bat:man:jar:1.0')
+ compile.dependencies.map(&:to_spec).should include('cool:aid:jar:1.0', 'some:other:jar:1.0', 'bat:man:jar:1.0')
end
end
@@ -472,7 +472,7 @@
artifact_ns(:moo).muu = 'moo:muu:jar:1.0'
define 'foo' do
compile.with artifact_ns(:moo)
- compile.classpath.map(&:to_spec).should include('moo:muu:jar:1.0')
+ compile.dependencies.map(&:to_spec).should include('moo:muu:jar:1.0')
end
end
end