Skip to content

Commit

Permalink
Added bats-lib methods (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy authored Jul 14, 2020
1 parent 7bc36e8 commit 24f178f
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 171 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,7 @@ local.properties

## File-based project format:
*.iws
*.iml
*.iml

# BATS
test/test_helper/
56 changes: 0 additions & 56 deletions _test/_helpers.bash

This file was deleted.

9 changes: 9 additions & 0 deletions _test/bats-support-clone.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
if [[ ! -d "_test/test_helper/bats-support" ]]; then
# Download bats-support dynamically so it doesnt need to be added into source
git clone https://github.com/ztombol/bats-support _test/test_helper/bats-support --depth 1
fi

if [[ ! -d "_test/test_helper/redhatcop-bats-library" ]]; then
# Download redhat-cop/bats-library dynamically so it doesnt need to be added into source
git clone https://github.com/redhat-cop/bats-library _test/test_helper/redhatcop-bats-library --depth 1
fi
Loading

0 comments on commit 24f178f

Please sign in to comment.