view_component/test/test_engine
Tomasz Kowalewski 80c7c8e811
Add support for using view components in rails engine (#1951)
* Add module namespacing to generated components and other files

First step to add support for using view components in rails engine

* Config#default_preview_paths should include preview paths generated for rails engine

* Add some dummy tests

* Create test group for engine tests

* Fix test and simplecov setup for engine tests

* Tweak tests

* Allow to run tests with 'm' ;)

* Fix tests

* Improve tests

* Fix preview paths

* Return unique values for default_preview_path

* One step closer with tests

* Remove trailing whitespaces

* Update CHANGELOG

* Update contributors list

* Remove .keep

* Update changelog - be more precise in changes description

* Don't wrap with module namespace in tests and specs

Instead of wraping test/spec with module namespacing
pass module namespace inline with described class

* Rename Dummy => TestEngine

---------

Co-authored-by: Joel Hawksley <joel@hawksley.org>
2024-08-27 10:12:42 -06:00
..
app/components/test_engine Add support for using view components in rails engine (#1951) 2024-08-27 10:12:42 -06:00
lib Add support for using view components in rails engine (#1951) 2024-08-27 10:12:42 -06:00
test Add support for using view components in rails engine (#1951) 2024-08-27 10:12:42 -06:00
test_helper.rb Add support for using view components in rails engine (#1951) 2024-08-27 10:12:42 -06:00