From b84911ab3e9fa0ae91b852eee6b12a523ffecedd Mon Sep 17 00:00:00 2001 From: Sebastian Schuster Date: Tue, 22 Oct 2013 14:55:51 +0200 Subject: [PATCH] Fixed wrong translation and superfluous visible flag in step definition --- config/locales/de.yml | 2 +- features/step_definitions/cost_type_steps.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/de.yml b/config/locales/de.yml index 19db757d31..c89c2decfd 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -76,7 +76,7 @@ de: caption_materials: "Stücke" caption_rate_history: "Stundensatz-Historie" caption_rate_history_for: "Stundensatz-Historie für %{user}" - caption_rate_history_for_project: "Studensatz-Historie für %{user} in Projekt %{project}" + caption_rate_history_for_project: "Stundensatz-Historie für %{user} in Projekt %{project}" caption_save_rate: "Satz speichern" caption_set_rate: "Aktuellen Satz festlegen" caption_show_locked: "Gesperrte Typen anzeigen" diff --git a/features/step_definitions/cost_type_steps.rb b/features/step_definitions/cost_type_steps.rb index f70dd75fdf..2bf79d4c4a 100644 --- a/features/step_definitions/cost_type_steps.rb +++ b/features/step_definitions/cost_type_steps.rb @@ -19,7 +19,7 @@ When(/^I delete the cost type "(.*?)"$/) do |name| ct = CostType.find_by_name name within ("#delete_cost_type_#{ct.id}") do - find('input[type=image]', :visible => true).click + find('input[type=image]').click end if page.driver.is_a? Capybara::Selenium::Driver