buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject svn commit: r1154696 - /buildr/trunk/spec/addon/bnd_spec.rb
Date Sun, 07 Aug 2011 12:17:44 GMT
Author: donaldp
Date: Sun Aug  7 12:17:44 2011
New Revision: 1154696

URL: http://svn.apache.org/viewvc?rev=1154696&view=rev
Log:
Attempt to fix specs to work under Ruby 1.9.2

Modified:
    buildr/trunk/spec/addon/bnd_spec.rb

Modified: buildr/trunk/spec/addon/bnd_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/addon/bnd_spec.rb?rev=1154696&r1=1154695&r2=1154696&view=diff
==============================================================================
--- buildr/trunk/spec/addon/bnd_spec.rb (original)
+++ buildr/trunk/spec/addon/bnd_spec.rb Sun Aug  7 12:17:44 2011
@@ -273,14 +273,14 @@ SRC
 
     it "defaults -classpath to compile path and dependencies" do
       @foo.packages[0].to_params['-classpath'].should include(@foo.compile.target.to_s)
-      @foo.packages[0].to_params['-classpath'].should include(Buildr.artifacts(Buildr::Ant.dependencies[0]).to_s)
+      @foo.packages[0].to_params['-classpath'].should include(Buildr.artifact(Buildr::Ant.dependencies[0]).to_s)
       @bar.packages[0].to_params['-classpath'].should include(@bar.compile.target.to_s)
     end
 
     it "classpath method returns compile path and dependencies" do
       @foo.packages[0].classpath.should include(@foo.compile.target)
       Buildr::Ant.dependencies.each do |dependency|
-        @foo.packages[0].classpath.to_s.should include(Buildr.artifacts(dependency).to_s)
+        @foo.packages[0].classpath.to_s.should include(Buildr.artifact(dependency).to_s)
       end
       @bar.packages[0].classpath.should include(@bar.compile.target)
     end



Mime
View raw message