Fix tests broken in 680a0c8.

This commit is contained in:
Josef Šimánek 2014-05-12 03:05:51 +02:00
parent e093b5b90a
commit 862fd4cf1b

View File

@ -21,7 +21,8 @@
equal(element.text().trim(), data.finishedAt)
element = $('#new-summary .runtime')
equal(element.text().trim(), "ran for #{data.duration}")
duration_regexp = new RegExp("(ran|running) for #{data.duration}")
ok(duration_regexp.test(element.text().trim()))
element = $('#new-summary .commit-changes a.commit')
equal(element.attr('href'), "https://github.com/#{data.repo}/commit/#{data.commit}")