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