mrship/middleman-jasmine — pull request #2 by svicalifornia (2013-08-22 06:14:43+00:00)
Title: Added option jasmine_config_path

This new option is used to specify the location of the YAML config file (jasmine.yml). This is useful for running multiple instances of Jasmine with different config files within a single Middleman server:

active 'middleman-jasmine',
jasmine_url: '/jasmine-unit',
jasmine_config_path: 'spec/javascripts/support/jasmine-unit.yml'

active 'middleman-jasmine',
jasmine_url: '/jasmine-functional',
jasmine_config_path: 'spec/javascripts/support/jasmine-functional.yml'

Potential use cases for having multiple Jasmine config files:

- to isolate unit tests or functional tests rather than always running all tests
- to isolate particular functions to be tested, e.g. public features vs. admin features