now-cli: Fix test (#48866)
- The examples [were
moved](ec867ed3dc
)
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.
This commit is contained in:
parent
a360318799
commit
3d46ebb92c
1 changed files with 3 additions and 3 deletions
|
@ -24,8 +24,8 @@ class NowCli < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
system "#{bin}/now", "init", "markdown"
|
system "#{bin}/now", "init", "jekyll"
|
||||||
assert_predicate testpath/"markdown/now.json", :exist?, "now.json must exist"
|
assert_predicate testpath/"jekyll/_config.yml", :exist?, "_config.yml must exist"
|
||||||
assert_predicate testpath/"markdown/README.md", :exist?, "README.md must exist"
|
assert_predicate testpath/"jekyll/README.md", :exist?, "README.md must exist"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue