Upgrading default MongoDB version to 3.2.0

This commit is contained in:
Elliot Chong
2015-12-18 12:50:07 -08:00
parent 356b30e290
commit 97b624ccbc
4 changed files with 7 additions and 7 deletions

View File

@@ -11,20 +11,20 @@ teardown() {
@test "($PLUGIN_COMMAND_PREFIX:list) with no exposed ports, no linked apps" {
run dokku "$PLUGIN_COMMAND_PREFIX:list"
assert_contains "${lines[*]}" "l mongo:3.0.6 running - -"
assert_contains "${lines[*]}" "l mongo:3.2.0 running - -"
}
@test "($PLUGIN_COMMAND_PREFIX:list) with exposed ports" {
dokku "$PLUGIN_COMMAND_PREFIX:expose" l 4242 4243 4244 4245
run dokku "$PLUGIN_COMMAND_PREFIX:list"
assert_contains "${lines[*]}" "l mongo:3.0.6 running 27017->4242 27018->4243 27019->4244 28017->4245 -"
assert_contains "${lines[*]}" "l mongo:3.2.0 running 27017->4242 27018->4243 27019->4244 28017->4245 -"
}
@test "($PLUGIN_COMMAND_PREFIX:list) with linked app" {
dokku apps:create my_app
dokku "$PLUGIN_COMMAND_PREFIX:link" l my_app
run dokku "$PLUGIN_COMMAND_PREFIX:list"
assert_contains "${lines[*]}" "l mongo:3.0.6 running - my_app"
assert_contains "${lines[*]}" "l mongo:3.2.0 running - my_app"
dokku --force apps:destroy my_app
}