providers/digitalocean: fix tests for region

the user_data argument doesn't exist on all regions
This commit is contained in:
Jack Pearkes 2014-09-05 11:18:49 -04:00
parent 28692656e2
commit 58a482d677
1 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ func testAccCheckDigitalOceanDropletAttributes(droplet *digitalocean.Droplet) re
return fmt.Errorf("Bad size_slug: %s", droplet.SizeSlug())
}
if droplet.RegionSlug() != "nyc2" {
if droplet.RegionSlug() != "nyc3" {
return fmt.Errorf("Bad region_slug: %s", droplet.RegionSlug())
}
@ -254,7 +254,7 @@ resource "digitalocean_droplet" "foobar" {
name = "baz"
size = "1gb"
image = "centos-5-8-x32"
region = "nyc2"
region = "nyc3"
}
`