Jasmine Rails Configuration file
There is only 1 main configuration file called
jasmine.yml located in
jasmine-rails gem as we need to parse it as ERB before loading as a normal yml. Wagn path cannot be hard coded to configuration file so we need
Jasmine-Rails to parse
Wagn.gem_root when reading the yml file.
Most of the things are same with default settings. However, the
css_dir are not working as they are pointed to
app/assets folder which is the default path of the asset pipeline. The important setting is
include_dir. This will inlcude things outside app folder into the asset pipeline. That means, things inside Wagn gem and folder
mod can be included in this way.
For core testing, the default settings now will include the js and coffee inside
How to run
- just like the way to create a deck to test core or mod-dev
- configure the
bundle exec wagn jm