From e27005f08af2029edf98fcfe53b9184d6ea927b9 Mon Sep 17 00:00:00 2001 From: Gregory Shilin Date: Sat, 14 Jul 2012 21:38:32 +0300 Subject: [PATCH] Correction of test --- test/integration/translation_process_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/translation_process_test.rb b/test/integration/translation_process_test.rb index 98bab0ed..24086f36 100644 --- a/test/integration/translation_process_test.rb +++ b/test/integration/translation_process_test.rb @@ -48,7 +48,7 @@ def test_search_phrase_within_key fill_in 'k', :with => 'nested' click_button 'Search' - assert_equal 1, page.has_selector?('td.translation').size + assert_equal true, page.has_selector?('td.translation', :count => 1) end private