spec/kpm/remote/installer_spec.rb in kpm-0.5.3 vs spec/kpm/remote/installer_spec.rb in kpm-0.6.0

- old
+ new

@@ -17,11 +17,15 @@ } }, @logger) # No exception - installer.install.should be_nil + response = nil + expect{ response = installer.install }.to_not raise_exception + response = JSON[response] + response['help'].should be_nil + response['killbill']['status'].should eq 'INSTALLED' end end it 'should be able to install only Kaui' do Dir.mktmpdir do |dir| @@ -32,10 +36,14 @@ } }, @logger) # No exception - installer.install.should be_nil + response = nil + expect{ response = installer.install }.to_not raise_exception + response = JSON[response] + response['help'].should be_nil + response['kaui']['status'].should eq 'INSTALLED' end end it 'should be able to install all artifacts' do Dir.mktmpdir do |dir|