diff --git a/lib/jasmine/files_list.rb b/lib/jasmine/files_list.rb index 38b414a..ac3a151 100644 --- a/lib/jasmine/files_list.rb +++ b/lib/jasmine/files_list.rb @@ -34,8 +34,6 @@ module Jasmine @spec_outside_scope = false @spec_files = [] use_config! if config? - - @code_for_file = {} end def has_spec_outside_scope? @@ -71,8 +69,6 @@ module Jasmine coffeescript_run = [] files.collect { |file| - next @code_for_file[file] if @code_for_file[file] - coffeescript_run << file if (ext = File.extname(file)) == '.coffee' output = [] @@ -89,8 +85,6 @@ module Jasmine end end - @code_for_file[file] = output if output.length == 1 - output }.flatten.reject(&:empty?) end