mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-11 07:34:41 +08:00
fix hound
This commit is contained in:
parent
3158fc4a8a
commit
22cf72e054
2 changed files with 4 additions and 2 deletions
|
@ -23,5 +23,6 @@ Then(/^I fill in "([^"]*)" in New password field$/) do |password|
|
|||
end
|
||||
|
||||
Then(/^I fill in "([^"]*)" in New password confirmation field$/) do |password|
|
||||
find(:css, 'input[id="settings_page.new_password_confirmation"]').set(password)
|
||||
find(:css,
|
||||
'input[id="settings_page.new_password_confirmation"]').set(password)
|
||||
end
|
||||
|
|
|
@ -4,7 +4,8 @@ def wait_for_ajax
|
|||
counter += 1
|
||||
sleep(0.1)
|
||||
if (0.1 * counter) >= Capybara.default_max_wait_time
|
||||
raise "AJAX request took longer than #{Capybara.default_max_wait_time} seconds."
|
||||
raise "AJAX request took longer than " \
|
||||
"#{Capybara.default_max_wait_time} seconds."
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue