2

In my Ruby on Rails app I use opal gem for converting the ruby code to JS. How can I convert also the Rspec tests to JS test - opal. And how to run those JS/opal tests?

Thank

asked Sep 20, 2018 at 13:08

1 Answer 1

1

I use the hyper-spec gem. It required:

  • Use factory_bot gem instead of factory_girl gem.
  • Add dummy rails app to rspec folder that use my gem.
  • More configuration for the tests as describe in the readme.
jethro
1723 silver badges14 bronze badges
answered Oct 22, 2018 at 18:45
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.