jasmine / jasmine-gem

Jasmine ruby gem
682 stars 274 forks source link

example jasmine.yml spec_files path example & default not working #266

Closed valentin-krasontovitsch closed 8 years ago

valentin-krasontovitsch commented 8 years ago

running jasmine 2.4.0 in a gem, after just installing jasmine and the examples, and the spec files are not found. following the comments

# spec_files
#
#  Return an array of filepaths relative to spec_dir to include.
# Default: ["**/*[sS]pec.js"]
#
# EXAMPLE:
#
# spec_files:
#   - **/*[sS]pec.js

in jasmine.yml, the default and the example lead to following errors upon accessing the webserver and running rake jasmine, respectively:

no implicit conversion of Array into String

and

Psych::SyntaxError: (): did not find expected alphabetic or numeric character while scanning an alias at line 52 column 5.

Using

- '*[Ss]pec.js'

on the other hand worked.