spec/alvid_spec.rb in alvid-0.2.4 vs spec/alvid_spec.rb in alvid-0.2.5

- old
+ new

@@ -3,9 +3,10 @@ describe Alvid do it 'has a version number' do expect(Alvid::VERSION).not_to be nil end + describe 'init' do describe 'when VCAP_SERVICES provided' do it 'supports p-mysql' do ENV["VCAP_SERVICES"] = '{ "p-mysql-n/a": [ { "credentials": { "uri":"cool-mysql-uri" }, "label": "p-mysql-n/a", "name": "p-mysql", "syslog_drain_url": "", "tags": ["postgres","postgresql","relational"] } ] } ' expect(DataMapper).to receive(:setup).with(:default, "cool-mysql-uri")