Building a Rails Engine #13 -- How to test a mountable Rails engine without a dummy app
ruby
dev.to
Testing a Rails Engine with RSpec How to test a mountable Rails engine without a dummy app -- just an in-memory SQLite database and 60 lines of spec_helper. Context This is part 13 of the series where we build DataPorter, a mountable Rails engine for data import workflows. In part 12, we extended the Source layer to support JSON files and API endpoints. We have been writing specs throughout the series, but we never stepped back to explain how the test suite works. A Rai