~dstroppa/juju-core/joyent-provider-storage

« back to all changes in this revision

Viewing changes to state/api/params/params_test.go

  • Committer: Daniele Stroppa
  • Date: 2014-01-08 15:58:10 UTC
  • mfrom: (1953.1.231 juju-core)
  • Revision ID: daniele.stroppa@joyent.com-20140108155810-xecbwrqkb5i0fyoe
Merging trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
                        Exposed:     true,
51
51
                        CharmURL:    "cs:quantal/name",
52
52
                        Life:        params.Life(state.Dying.String()),
 
53
                        OwnerTag:    "test-owner",
53
54
                        MinUnits:    42,
54
55
                        Constraints: constraints.MustParse("arch=arm mem=1024M"),
55
56
                        Config: charm.Settings{
58
59
                        },
59
60
                },
60
61
        },
61
 
        json: `["service","change",{"CharmURL": "cs:quantal/name","Name":"Benji","Exposed":true,"Life":"dying","MinUnits":42,"Constraints":{"arch":"arm", "mem": 1024},"Config": {"hello":"goodbye","foo":false}}]`,
 
62
        json: `["service","change",{"CharmURL": "cs:quantal/name","Name":"Benji","Exposed":true,"Life":"dying","OwnerTag":"test-owner","MinUnits":42,"Constraints":{"arch":"arm", "mem": 1024},"Config": {"hello":"goodbye","foo":false}}]`,
62
63
}, {
63
64
        about: "UnitInfo Delta",
64
65
        value: params.Delta{