func (s *environBrokerSuite) TestFindInstanceSpec(c *gc.C) { s.FakeImages.Metadata = s.imageMetadata s.FakeImages.ResolveInfo = s.resolveInfo spec, err := gce.FindInstanceSpec(s.Env, s.Env.Config().ImageStream(), s.ic) c.Assert(err, jc.ErrorIsNil) c.Check(spec, gc.DeepEquals, s.spec) }
func (s *environBrokerSuite) TestFindInstanceSpec(c *gc.C) { spec, err := gce.FindInstanceSpec(s.Env, s.ic, s.imageMetadata) c.Assert(err, jc.ErrorIsNil) c.Check(spec, jc.DeepEquals, s.spec) }