We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64efc73 commit 2342d98Copy full SHA for 2342d98
integration-test.bats
@@ -1,5 +1,8 @@
1
#!/usr/bin/env bats
2
3
+source lib/assert.bash
4
+source deploy.sh --source-only
5
+
6
setup() {
7
tmp=`mktemp --tmpdir --directory deploy_test.XXXX`
8
pushd "$tmp" >/dev/null
@@ -22,8 +25,6 @@ create_repo() {
22
25
touch dist/file
23
26
}
24
27
-source deploy.sh --source-only
-
28
@test "deploy creates branch and deploys file" {
29
30
main
@@ -77,6 +78,6 @@ source deploy.sh --source-only
77
78
79
80
- [[ -z `ls --almost-all dist 2> /dev/null` ]] # no files in dist
81
+ assert that `ls --almost-all dist` = file
82
! git cat-file -e gh-pages:source # `source` does not exist on gh-pages
83
0 commit comments