mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-12 17:19:01 +08:00
[spec] Add spec helpers subdirs to #spec_files.
Signed-off-by: Eloy Durán <eloy.de.enige@gmail.com>
This commit is contained in:
committed by
Watson
parent
4550206b47
commit
e25af615d3
@@ -251,7 +251,7 @@ module Motion; module Project
|
||||
def spec_files
|
||||
@spec_files ||= begin
|
||||
# Project helpers.
|
||||
helpers = Dir.glob(File.join(specs_dir, 'helpers', '*.rb'))
|
||||
helpers = Dir.glob(File.join(specs_dir, 'helpers', '**', '*.rb'))
|
||||
# Project specs.
|
||||
specs = Dir.glob(File.join(specs_dir, '**', '*.rb')) - helpers
|
||||
if files_filter = ENV['files']
|
||||
|
||||
Reference in New Issue
Block a user