Repository: buildr
Updated Branches:
  refs/heads/master ed72c9483 -> 29938fbf0


Fix the upload spec after introducing support for snapshot upload


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/29938fbf
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/29938fbf
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/29938fbf

Branch: refs/heads/master
Commit: 29938fbf09d252e490be27baf951b4f7f2ea0f5e
Parents: ed72c94
Author: Antoine Toulme <[email protected]>
Authored: Fri Aug 19 21:52:44 2016 -0700
Committer: Antoine Toulme <[email protected]>
Committed: Fri Aug 19 21:52:44 2016 -0700

----------------------------------------------------------------------
 spec/packaging/artifact_spec.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/29938fbf/spec/packaging/artifact_spec.rb
----------------------------------------------------------------------
diff --git a/spec/packaging/artifact_spec.rb b/spec/packaging/artifact_spec.rb
index 79cd67b..c4ac5a3 100644
--- a/spec/packaging/artifact_spec.rb
+++ b/spec/packaging/artifact_spec.rb
@@ -1086,7 +1086,7 @@ describe ActsAsArtifact, '#upload' do
     URI.should_receive(:upload).once.
       
with(URI.parse('sftp://buildr.apache.org/repository/noexist/snapshot/com/example/library/2.0-SNAPSHOT/library-2.0-20161111.140236-1.jar'),
 artifact.to_s, anything)
       URI.should_receive(:upload).once.
-        
with(URI.parse('sftp://buildr.apache.org/repository/noexist/base/com/example/library/2.0-SNAPSHOT/maven_metadata.xml'),
 "maven_metadata.xml", anything)
+        
with(URI.parse('sftp://buildr.apache.org/repository/noexist/snapshot/com/example/library/2.0-SNAPSHOT/maven_metadata.xml'),
 "maven_metadata.xml", anything)
     repositories.release_to = 
'sftp://buildr.apache.org/repository/noexist/base'
     repositories.snapshot_to = 
'sftp://buildr.apache.org/repository/noexist/snapshot'
     artifact.upload

Reply via email to