spec/cfoundry/v2/service_plan_spec.rb in cfoundry-4.6.3.rc1 vs spec/cfoundry/v2/service_plan_spec.rb in cfoundry-4.6.3.rc2
- old
+ new
@@ -23,11 +23,12 @@
"entity": {
"name": "free",
"free": true,
"description": "free as in beer",
"unique_id": "0aa2f82c-6918-41df-b676-c275b5954ed7",
- "extra": ""
+ "extra": "",
+ "public": true
}
}
EOF
end
@@ -40,9 +41,13 @@
subject.unique_id.should eq(uuid)
end
it "has free/paid indicator attribute" do
subject.free.should be_true
+ end
+
+ it "has a boolean 'public' attribute" do
+ expect(subject.public).to be_true
end
end
end
end