Permalink
Browse files

Merge branch 'master' into in_process_drb

  • Loading branch information...
2 parents 9e9d41e + d3bb3d2 commit af8bdd88b7f395ec098f987bffc10b4e6ed5eb34 @nevir nevir committed Mar 24, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/guard/rspec/inspector.rb
@@ -42,15 +42,14 @@ def feature_file?(path)
def spec_folder?(path)
path.match(%r{^(#{spec_paths.join("|")})[^\.]*$})
- # path.match(%r{^spec[^\.]*$})
end
def spec_files
- @spec_files ||= spec_paths.collect { |path| Dir[File.join(path, "**/*/**", "*_spec.rb")] }.flatten
+ @spec_files ||= spec_paths.collect { |path| Dir[File.join(path, "**", "*_spec.rb")] }.flatten
end
def feature_files
- @feature_files ||= spec_paths.collect { |path| Dir[File.join(path, "**/*/**", "*.feature")] }.flatten
+ @feature_files ||= spec_paths.collect { |path| Dir[File.join(path, "**", "*.feature")] }.flatten
end
def clear_spec_files_list_after

0 comments on commit af8bdd8

Please sign in to comment.