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

Shir
  • 253
  • 1
  • 6
  • 18

1 Answers1

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
  • 168
  • 3
  • 13
Shir
  • 253
  • 1
  • 6
  • 18