From e25af615d3d0e6e46bc10cf83befde47f13214e8 Mon Sep 17 00:00:00 2001 From: Ignacio Piantanida Date: Tue, 24 Jun 2014 14:51:58 +0200 Subject: [PATCH] [spec] Add spec helpers subdirs to #spec_files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eloy Durán --- lib/motion/project/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/motion/project/config.rb b/lib/motion/project/config.rb index 36d0a9bf..1db073b7 100644 --- a/lib/motion/project/config.rb +++ b/lib/motion/project/config.rb @@ -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']