lib/snapdragon/suite.rb in snapdragon-0.1.8 vs lib/snapdragon/suite.rb in snapdragon-0.1.9

- old
+ new

@@ -21,11 +21,15 @@ return get_require_files_from_files(spec_files) end def require_file_relative_url_paths paths = Set.new + absolute_paths = [] require_files.each do |file| - paths << file.relative_url_path + if !absolute_paths.include?(file.absolute_path) + absolute_paths << file.absolute_path + paths << file.relative_url_path + end end return paths end def filtered?