# src_files # # Return an array of filepaths relative to src_dir to include before jasmine specs. # Default: [] # # EXAMPLE: # # src_files: # - lib/source1.js # - lib/source2.js # - dist/**/*.js # src_files: - 'lib/assets/javascripts/*.js' asset_paths: - 'vendor/assets/javascripts' - 'spec/javascripts/helpers' # the helpers are defined as assets to be in the sprockets path and, this way, # we can define the order to include them in the spec file (they need to be in # a specific order and them need to be added after a file in the vendor, i.e # jquery) # stylesheets # # Return an array of stylesheet filepaths relative to src_dir to include before jasmine specs. # Default: [] # # EXAMPLE: # # stylesheets: # - css/style.css # - stylesheets/*.css # # The order is important. DO NOT ALTER stylesheets: ['vendor/assets/stylesheets/ui-lightness/*.css', 'lib/assets/stylesheets/*.css'] # helpers # # Return an array of filepaths relative to spec_dir to include before jasmine specs. # Default: ["helpers/**/*.js"] # # EXAMPLE: # helpers: ["helpers/jasmine-jquery.js"] # # THE OTHER HELPERS ARE INCLUDED IN THE asset_paths, SEE THE asset_paths FOR # THE EXPLANATION # # spec_files # # 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 # # EXAMPLE: # # src_dir: public # # src_dir IS LEFT BLANK BECAUSE STYLESHEETS PATH IS RELATIVE TO IT, BUT WE # HAVE STYLESHEETS IN /vendor AND IN /lib # # spec_dir # # Spec directory path. Your spec_files must be returned relative to this path. # Default: spec/javascripts # # EXAMPLE: # # spec_dir: spec/javascripts # spec_dir: 'spec/javascripts' # spec_helper # # Ruby file that Jasmine server will require before starting. # Returned relative to your root path # Default spec/support/jasmine_helper.rb # # EXAMPLE: # # spec_helper: spec/support/jasmine_helper.rb #