Skip to content
This repository was archived by the owner on Oct 19, 2022. It is now read-only.

Commit 007fdec

Browse files
authored
Merge pull request #24 from deckar01/fix-phantomjs-test
Fix PhantomJS Tests on Linux
2 parents ba9a489 + 178ae8e commit 007fdec

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Markdown TaskList components",
55
"homepage": "https://github.com/deckar01/task_list",
66
"devDependencies": {
7-
"jquery": ">= 1.9.1",
7+
"jquery": ">= 1.9.1 <3",
88
"qunit": "^1.0.0",
99
"rails-behaviors": "^0.8.4"
1010
},

test/run-qunit.coffee

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
fs = require 'fs'
2-
print = (s) -> fs.write "/dev/stderr", s, 'w'
32

43
page = new WebPage()
54
page.onConsoleMessage = (msg) -> console.error msg
@@ -29,7 +28,7 @@ page.open phantom.args[0], ->
2928
return unless tests
3029
for test in tests when test
3130
deferTimeout()
32-
print test
31+
console.error test
3332

3433
result = page.evaluate ->
3534
result = document.getElementById('qunit-testresult')

0 commit comments

Comments
 (0)