spec/javascripts/support/jasmine.yml in backbone-support-0.4.0 vs spec/javascripts/support/jasmine.yml in backbone-support-0.5.0
- old
+ new
@@ -9,29 +9,57 @@
# - lib/source1.js
# - lib/source2.js
# - dist/**/*.js
#
src_files:
- - spec/javascripts/support/jquery.js
- - vendor/assets/javascripts/underscore.js
- - vendor/assets/javascripts/backbone.js
- - lib/assets/javascripts/backbone-support.js
- - lib/assets/javascripts/backbone-support/support.js
- - lib/assets/javascripts/backbone-support/observer.js
- - lib/**/*.js
+ - spec/javascripts/support/jquery.js
+ - vendor/assets/javascripts/underscore.js
+ - vendor/assets/javascripts/backbone.js
+ - lib/assets/javascripts/backbone-support.js
+ - lib/assets/javascripts/backbone-support/support.js
+ - lib/assets/javascripts/backbone-support/observer.js
+ - lib/**/*.js
+# stylesheets
+#
+# Return an array of stylesheet filepaths relative to src_dir to include before jasmine specs.
+# Default: []
+#
+# EXAMPLE:
+#
+# stylesheets:
+# - css/style.css
+# - stylesheets/*.css
+#
+stylesheets:
+ - stylesheets/**/*.css
+
+# helpers
+#
+# Return an array of filepaths relative to spec_dir to include before jasmine specs.
+# Default: ["helpers/**/*.js"]
+#
+# EXAMPLE:
+#
+# helpers:
+# - helpers/**/*.js
+#
+helpers:
+ - 'helpers/**/*.js'
+
# spec_files
#
-# Return an array of filepaths relative to spec_dir to include.
+# Return an array of filepaths relative to spec_dir to include.
# Default: ["**/*[sS]pec.js"]
#
# EXAMPLE:
#
# spec_files:
# - **/*[sS]pec.js
#
spec_files:
+ - '**/*[sS]pec.js'
# src_dir
#
# Source directory path. Your src_files must be returned relative to this path. Will use root if left blank.
# Default: project root
@@ -50,5 +78,53 @@
# EXAMPLE:
#
# spec_dir: spec/javascripts
#
spec_dir:
+
+# spec_helper
+#
+# Ruby file that Jasmine server will require before starting.
+# Returned relative to your root path
+# Default spec/javascripts/support/jasmine_helper.rb
+#
+# EXAMPLE:
+#
+# spec_helper: spec/javascripts/support/jasmine_helper.rb
+#
+spec_helper: spec/javascripts/support/jasmine_helper.rb
+
+# boot_dir
+#
+# Boot directory path. Your boot_files must be returned relative to this path.
+# Default: Built in boot file
+#
+# EXAMPLE:
+#
+# boot_dir: spec/javascripts/support/boot
+#
+boot_dir:
+
+# boot_files
+#
+# Return an array of filepaths relative to boot_dir to include in order to boot Jasmine
+# Default: Built in boot file
+#
+# EXAMPLE
+#
+# boot_files:
+# - '**/*.js'
+#
+boot_files:
+
+# rack_options
+#
+# Extra options to be passed to the rack server
+# by default, Port and AccessLog are passed.
+#
+# This is an advanced options, and left empty by default
+#
+# EXAMPLE
+#
+# rack_options:
+# server: 'thin'
+