Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Commit

Permalink
qt 4.8 webkit doesn't use working dir to resolve local file urls anym…
Browse files Browse the repository at this point in the history
…ore, fixes #101
  • Loading branch information
johnbintz committed Jan 3, 2012
1 parent df83a61 commit 7587381
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/jasmine-webkit-specrunner/Runner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void Runner::loadSpec()
outputFiles.enqueue(outputFile);
}

page.mainFrame()->load(runnerFiles.dequeue());
page.mainFrame()->load(QUrl::fromLocalFile(runnerFiles.dequeue()));
ticker.start();
}

Expand Down
2 changes: 1 addition & 1 deletion lib/jasmine/headless/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def jasmine_command(*targets)
command << "-r #{file}"
end

command += targets
command += targets.flatten.collect { |target| File.expand_path(target) }

command.compact.join(' ')
end
Expand Down

0 comments on commit 7587381

Please sign in to comment.