From f3f17e1c06612586539fe0fb9d5ebaecc34f5a8f Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Mon, 31 Jan 2011 14:46:04 -0300 Subject: [PATCH] Removing "on" from profile search options --- app/views/shared/_profile_search_form.rhtml | 4 ++-- features/profile_search.feature | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/shared/_profile_search_form.rhtml b/app/views/shared/_profile_search_form.rhtml index d7b720e..3697467 100644 --- a/app/views/shared/_profile_search_form.rhtml +++ b/app/views/shared/_profile_search_form.rhtml @@ -5,8 +5,8 @@ <%= submit_button(:search, _('Search')) %>
- <%= labelled_radio_button __('on profile'), 'where', 'profile', true %> - <%= labelled_radio_button _('on %s') % environment.name, 'where', 'environment', false %> + <%= labelled_radio_button __('Profile'), 'where', 'profile', true %> + <%= labelled_radio_button environment.name, 'where', 'environment', false %>
<% end %> diff --git a/features/profile_search.feature b/features/profile_search.feature index bb8fc2a..d1bddda 100644 --- a/features/profile_search.feature +++ b/features/profile_search.feature @@ -53,7 +53,7 @@ Feature: search inside a profile Scenario: search on environment Given I go to Joao Silva's profile And I fill in "q" with "bees" - And I choose "on Colivre.net" + And I choose "Colivre.net" And I press "Search" Then I should be on the search page And I should see "bees and butterflies" within "#search-page" -- libgit2 0.21.2