mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-25 03:50:53 +00:00
Try something for cirlce
This commit is contained in:
parent
00354fe6b3
commit
0bf8898f30
2 changed files with 4 additions and 3 deletions
|
@ -102,7 +102,7 @@ jobs:
|
|||
command: dockerize -wait tcp://localhost:3306 -timeout 1m
|
||||
- run:
|
||||
name: Database setup
|
||||
command: bundle exec rails db:schema:load --trace
|
||||
command: bundle exec rake db:test:prepare --trace
|
||||
# Run rspec in parallel
|
||||
# ./cc-test-reporter before-build
|
||||
# ./cc-test-reporter after-build --coverage-input-type clover --exit-code $?
|
||||
|
|
|
@ -6,8 +6,9 @@ module Features
|
|||
end
|
||||
end
|
||||
|
||||
def fill_tinymce(element, contents)
|
||||
page.execute_script("tinymce.get('#{element}').setContent('#{contents}')")
|
||||
def fill_tinymce(element = first, contents)
|
||||
page.execute_script("tinymce.editors[0].setContent('#{contents}')")
|
||||
# page.execute_script("tinymce.get('#{element}').setContent('#{contents}')")
|
||||
end
|
||||
|
||||
def submit(model, action)
|
||||
|
|
Loading…
Reference in a new issue