fdroidserver: fix test

The output files are in the fdroid subdirectory, not the testpath.
This commit is contained in:
ilovezfs 2017-10-07 06:36:02 -07:00
parent 0e369bba89
commit efc24520e1

View file

@ -228,11 +228,11 @@ class Fdroidserver < Formula
# ENV["ANDROID_HOME"] = Formula["android-sdk"].opt_prefix
# system "#{bin}/fdroid", "readmeta", "--verbose"
# system "#{bin}/fdroid", "init", "--verbose"
# assert_predicate testpath/"config.py", :exist?
# assert_predicate testpath/"keystore.jks", :exist?
# assert_predicate Pathname.pwd/"config.py", :exist?
# assert_predicate Pathname.pwd/"keystore.jks", :exist?
# system "#{bin}/fdroid", "update", "--create-metadata", "--verbose"
# assert_predicate testpath/"metadata", :exist?
# assert_predicate testpath/"repo/index.jar", :exist?
# assert_predicate Pathname.pwd/"metadata", :exist?
# assert_predicate Pathname.pwd/"repo/index.jar", :exist?
end
end
end