fix conversations cuke

This commit is contained in:
Dennis Collinson 2012-01-03 16:18:16 -08:00
parent b582f45452
commit 7ccc81b0a4
2 changed files with 11 additions and 11 deletions

View file

@ -20,18 +20,18 @@
= t('.inbox')
#conversation_inbox
- if @conversations.count > 0
.stream.conversations
.stream.conversations
- if @conversations.count > 0
= render :partial => 'conversations/conversation', :collection => @conversations, :locals => {:authors => @authors, :unread_counts => @unread_counts}
- else
%br
%br
%br
%br
%div{:style => 'text-align:center;'}
%i
= t('.no_messages')
= will_paginate @conversations
- else
%br
%br
%br
%br
%div{:style => 'text-align:center;'}
%i
= t('.no_messages')
.span-15.prepend-9.last

View file

@ -8,7 +8,7 @@ Then /^I send a message with subject "([^"]*)" and text "([^"]*)" to "([^"]*)"$/
step %(I am on the conversations page)
step %(I follow "New Message")
step %(I wait for the ajax to finish)
step %(I fill in "contact_autocomplete" with "#{person}" in the modal window)
step %(I press the first ".as-result-item" within ".as-results" in the modal window)
step %(I fill in "conversation_subject" with "#{subject}" in the modal window)
step %(I fill in "conversation_text" with "#{text}" in the modal window)