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
1 Answer 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.
answered Oct 22, 2018 at 18:45
Shir
3811 gold badge6 silver badges19 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
Explore related questions
See similar questions with these tags.
default