mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +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
|
||||
|
||||
def fill_tinymce(element, contents)
|
||||
page.execute_script("$('#{element}').tinymce().setContent('#{contents}')")
|
||||
page.execute_script("tinymce.get('#{element}').setContent('#{contents}')")
|
||||
end
|
||||
|
||||
def submit(model, action)
|
||||
|
|
Loading…
Reference in a new issue