From 3d46ebb92c25482cfa9d81b64b5a0dcdaf667acb Mon Sep 17 00:00:00 2001 From: Issy Long Date: Fri, 10 Jan 2020 21:18:24 +0000 Subject: [PATCH] now-cli: Fix test (#48866) - The examples [were moved](https://github.com/zeit/now-examples/commit/ec867ed3dc957b75ad44902d3d49e416f4c4f0b3) between the now archived, and the `markdown` example was somehow removed. (I can't find a reason why.) - Replace `now init markdown` with `now init jekyll` as that was the easiest thing I could think of that did exist, as it's still based on Markdown files and isn't an entire JS thing. --- Formula/now-cli.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Formula/now-cli.rb b/Formula/now-cli.rb index 67fa65754a..0000b3e044 100644 --- a/Formula/now-cli.rb +++ b/Formula/now-cli.rb @@ -24,8 +24,8 @@ class NowCli < Formula end test do - system "#{bin}/now", "init", "markdown" - assert_predicate testpath/"markdown/now.json", :exist?, "now.json must exist" - assert_predicate testpath/"markdown/README.md", :exist?, "README.md must exist" + system "#{bin}/now", "init", "jekyll" + assert_predicate testpath/"jekyll/_config.yml", :exist?, "_config.yml must exist" + assert_predicate testpath/"jekyll/README.md", :exist?, "README.md must exist" end end