mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-28 13:31:06 +00:00
Fix tinymce in test
This commit is contained in:
parent
2bf16ba800
commit
61e90d58c0
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module Features
|
||||||
end
|
end
|
||||||
|
|
||||||
def fill_tinymce(element, contents)
|
def fill_tinymce(element, contents)
|
||||||
page.execute_script("$('#{element}').tinymce().setContent('#{contents}')")
|
page.execute_script("tinymce.get('#{element}').setContent('#{contents}')")
|
||||||
end
|
end
|
||||||
|
|
||||||
def submit(model, action)
|
def submit(model, action)
|
||||||
|
|
Loading…
Reference in a new issue