Permalink
Browse files

Fix pom and deploy tests.

  • Loading branch information...
technomancy committed Aug 30, 2012
1 parent 10edee1 commit 5400be18a20e20c2f287102bcb3c9879611ae95b
Showing with 2 additions and 3 deletions.
  1. +1 −2 test/leiningen/test/pom.clj
  2. +1 −1 test_projects/sample/project.clj
@@ -69,8 +69,7 @@
(deep-content xml [:project :repositories])))
"repositories are named")
(is (= ["http://repo1.maven.org/maven2" "https://clojars.org/repo/"
- (format "file://%s/lein-repo"
- (System/getProperty "java.io.tmpdir"))]
+ "http://example.com/repo"]
(map #(first-in % [:repository :url])
(deep-content xml [:project :repositories])))
"repositories have correct location")
@@ -24,5 +24,5 @@
:random (fn [_] (> (rand) ~(float 1/2)))
:all (constantly true)}
:repositories {"other" "http://example.com/repo"}
- :deploy-repositories {"snapshots" ~(format "file://%s/lein-snapshots"
+ :deploy-repositories {"snapshots" ~(format "file://%s/lein-repo"
(System/getProperty "java.io.tmpdir"))})

0 comments on commit 5400be1

Please sign in to comment.