make cukes' wait until use block form, as we were getting some weird parse errors otherwise
This commit is contained in:
parent
0e2bcf18d2
commit
8e0998ab88
1 changed files with 3 additions and 1 deletions
|
|
@ -76,7 +76,9 @@ module PublishingCukeHelpers
|
||||||
end
|
end
|
||||||
|
|
||||||
def wait_for_ajax_to_finish(wait_time=15)
|
def wait_for_ajax_to_finish(wait_time=15)
|
||||||
#wait_until(wait_time) { evaluate_script("$.active") == 0 }
|
wait_until(wait_time) do
|
||||||
|
evaluate_script("$.active") == 0
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def assert_nsfw(text)
|
def assert_nsfw(text)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue