From 8cd81d05df38f29c77d065737a0307d004707485 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Thu, 22 Aug 2013 14:50:17 -0300 Subject: [PATCH] [postgres-tests] Fixing last_admin feature test --- app/views/profile_members/_members_list.rhtml | 2 +- features/last_administrator_leaving.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/profile_members/_members_list.rhtml b/app/views/profile_members/_members_list.rhtml index b63b25c..161a389 100644 --- a/app/views/profile_members/_members_list.rhtml +++ b/app/views/profile_members/_members_list.rhtml @@ -10,7 +10,7 @@ <%= _('Actions') %> <% collection.each do |m| %> - + <%= link_to_profile m.short_name, m.identifier, :title => m.name %>
diff --git a/features/last_administrator_leaving.feature b/features/last_administrator_leaving.feature index 58f6fef..2039286 100644 --- a/features/last_administrator_leaving.feature +++ b/features/last_administrator_leaving.feature @@ -17,7 +17,7 @@ Feature: remove administrator role Scenario: the last administrator removes his administrator role and must choose the new administrator Given "Maria Souza" is a member of "Nice people" And I am on Nice people's members management - And I follow "Edit" + And I follow "Edit" within "tr[title='Joao Silva']" And I uncheck "Profile Administrator" When I press "Save changes" Then I should see "Since you are the last administrator, you must choose" -- libgit2 0.21.2