autotest fixes

This commit is contained in:
John Bintz 2011-05-07 09:16:23 -04:00
parent 234f49e583
commit c1beb74a9f

View File

@ -86,11 +86,11 @@ module JasmineMixin
} }
add_mapping(%r{public/javascripts/(.*)\.js}) { |_, m| add_mapping(%r{public/javascripts/(.*)\.js}) { |_, m|
files_matching(%{spec/javascripts/#{m[1]}_spec\..*$}) files_matching(%r{spec/javascripts/#{m[1]}_spec\..*$})
} }
add_mapping(%r{app/coffeescripts/(.*)\.coffee}) { |_, m| add_mapping(%r{app/coffeescripts/(.*)\.coffee}) { |_, m|
files_matching(%{spec/javascripts/#{m[1]}_spec\..*$}) files_matching(%r{spec/javascripts/#{m[1]}_spec\..*$})
} }
end end