Bundle install before test

This commit is contained in:
Takashi Kokubun 2015-06-07 23:10:42 +09:00
parent 2eff6cca9c
commit e4aef3e01b
1 changed files with 3 additions and 0 deletions

3
test
View File

@ -12,6 +12,9 @@ VERSIONS=(
function test_with() {
version=$1
rbenv local $version
if ! bundle check > /dev/null; then
bundle install
fi
ruby -v
rake spec
}