diff --git a/lib/jasmine/headless/files_list.rb b/lib/jasmine/headless/files_list.rb index b8b4da4..caac47f 100644 --- a/lib/jasmine/headless/files_list.rb +++ b/lib/jasmine/headless/files_list.rb @@ -137,6 +137,7 @@ module Jasmine::Headless @search_paths += asset_paths.collect { |dir| File.expand_path(dir) } @search_paths += spec_dir.collect { |dir| File.expand_path(dir) } + @search_paths.uniq! @search_paths end