RubyRuntimeMetaData originalRuntimeMD = new RubyRuntimeMetaData();
originalRuntimeMD.setRuntimeType( RubyRuntimeMetaData.RuntimeType.BARE );
unit.putAttachment( RubyRuntimeMetaData.ATTACHMENT_KEY, originalRuntimeMD );
rubyAppMetaData.attachTo( unit );
rackAppMetaData.attachTo( unit );
deploy( phaseContext );
RubyRuntimeMetaData runtimeMetaData = unit.getAttachment( RubyRuntimeMetaData.ATTACHMENT_KEY );
assertNotNull( runtimeMetaData );