mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-16 13:20:18 +08:00
It looks like 5a37c3df38 removed the `**`
from the pattern used to generate the specs array. This has the effect
of only running specs located directly in the `specs_dir` directory.
For example, with the following directory structure, only `foo_spec.rb`
would be run with an invocation of `rake spec`.
spec/foo_spec.rb
spec/bar/bar_spec.rb
This patch restores the `**` passed to `Dir.glob` and also uses
`Dir.join` for generation of the path to the spec helpers directory.