qt 4.8 webkit doesn't use working dir to resolve local file urls anymore, fixes #101
This commit is contained in:
parent
df83a61cb5
commit
7587381e1e
@ -70,7 +70,7 @@ void Runner::loadSpec()
|
||||
outputFiles.enqueue(outputFile);
|
||||
}
|
||||
|
||||
page.mainFrame()->load(runnerFiles.dequeue());
|
||||
page.mainFrame()->load(QUrl::fromLocalFile(runnerFiles.dequeue()));
|
||||
ticker.start();
|
||||
}
|
||||
|
||||
|
@ -62,7 +62,7 @@ module Jasmine
|
||||
command << "-r #{file}"
|
||||
end
|
||||
|
||||
command += targets
|
||||
command += targets.flatten.collect { |target| File.expand_path(target) }
|
||||
|
||||
command.compact.join(' ')
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user