mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 12:30:48 +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
|
command: dockerize -wait tcp://localhost:3306 -timeout 1m
|
||||||
- run:
|
- run:
|
||||||
name: Database setup
|
name: Database setup
|
||||||
command: bundle exec rails db:schema:load --trace
|
command: bundle exec rake db:test:prepare --trace
|
||||||
# Run rspec in parallel
|
# Run rspec in parallel
|
||||||
# ./cc-test-reporter before-build
|
# ./cc-test-reporter before-build
|
||||||
# ./cc-test-reporter after-build --coverage-input-type clover --exit-code $?
|
# ./cc-test-reporter after-build --coverage-input-type clover --exit-code $?
|
||||||
|
|
|
@ -6,8 +6,9 @@ module Features
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def fill_tinymce(element, contents)
|
def fill_tinymce(element = first, contents)
|
||||||
page.execute_script("tinymce.get('#{element}').setContent('#{contents}')")
|
page.execute_script("tinymce.editors[0].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