github.com/Pankov404/juju@v0.0.0-20150703034450-be266991dceb/upgrades/steps124_test.go (about)

     1  // Copyright 2015 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package upgrades_test
     5  
     6  import (
     7  	gc "gopkg.in/check.v1"
     8  
     9  	"github.com/juju/juju/testing"
    10  	"github.com/juju/juju/version"
    11  )
    12  
    13  type steps124Suite struct {
    14  	testing.BaseSuite
    15  }
    16  
    17  var _ = gc.Suite(&steps124Suite{})
    18  
    19  func (s *steps124Suite) TestStateStepsFor124(c *gc.C) {
    20  	expected := []string{
    21  		"add block device documents for existing machines",
    22  		"move service.UnitSeq to sequence collection",
    23  		"add instance id field to IP addresses",
    24  		"add UUID field to IP addresses",
    25  	}
    26  	assertStateSteps(c, version.MustParse("1.24.0"), expected)
    27  }