1
0
Fork 0
mirror of https://github.com/rails/execjs synced 2023-03-27 23:21:20 -04:00

Module#constants returns an array of symbols, not strings, in 1.9

This commit is contained in:
Sam Stephenson 2011-06-01 21:29:05 -05:00
parent e9e1b97b26
commit f0cf69b6f7

View file

@ -8,7 +8,7 @@ require "execjs/runtimes"
tests = namespace :test do |tests| tests = namespace :test do |tests|
ExecJS::Runtimes.names.each do |name| ExecJS::Runtimes.names.each do |name|
task(name.downcase) do task(name.downcase) do
ENV["EXECJS_RUNTIME"] = name ENV["EXECJS_RUNTIME"] = name.to_s
end end
Rake::TestTask.new(name.downcase) do |t| Rake::TestTask.new(name.downcase) do |t|