migrate mobile selenium scripts to cucumber

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
This commit is contained in:
Reinier Balt 2011-02-27 00:04:04 +01:00
parent 0bfb64d0e2
commit f95cd7fa99
10 changed files with 137 additions and 81 deletions

View file

@ -13,7 +13,7 @@
</head><body>
<% if !(@new_mobile || @edit_mobile)
if current_user && !current_user.prefs.nil? -%>
<h1><span class="count"><%= @down_count %></span> <%=
<h1><span class="count" id="badge_count"><%= @down_count %></span> <%=
l(Date.today, :format => current_user.prefs.title_date_format) -%></h1>
<div class="nav">
<%= (link_to(t('layouts.mobile_navigation.new_action'), new_todo_path(new_todo_params))+" | ") unless @new_mobile -%>