These tests check that Liferay session variables are available in Rails.
These variables are accessible in Java JSR286 portlets from the Liferay API. Rails-portlet includes these values into a cookie that is available in Rails.
<% if @uid -%> Liferay UID: <%= @uid %> <% else -%> No UID found! <% end -%>
<% if @gid -%> Liferay GID: <%= @gid %> <% else -%> No GID found! <% end -%>