Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Testing</title>
</head>
<body>
<h1>Testing</h1>
<p>Hello &lt;foobar&gt;!
@zombor
zombor / gist:3996861
Created November 1, 2012 21:51 — forked from Ikke/gist:3996846
Feature List entries
In order to see what time I have logged
I want to get a list of entries for a particular day
Scenario: List all entries for a single day
Given the log contains the following entries:
| start_time | stop_time | description | date |
| 08:00 | 09:00 | A | 2012-10-31 |
| 08:00 | 09:00 | B | 2012-11-01 |
| 09:00 | 10:00 | C | 2012-11-01 |
@zombor
zombor / gist:3976055
Created October 29, 2012 19:42 — forked from Ikke/gist:3975851
Feature: Log time
In order to keep my time
As a developer
I need to be able to add log entries
Scenario: Add a single time entry
Given I am a developer
When I enter the following into my time log:
"""
08:00 - 09:00 - Doing something
@zombor
zombor / gist:3975854
Created October 29, 2012 19:17 — forked from Ikke/gist:3975851
Feature: Log time
In order to keep my time
As a developer
I need to be able to add log entries
Scenario: Add a single time entry
Given I am a developer
When I enter the following into my time log:
"""
12:00pm - 1:00pm
ecompressdir: bzip2 -9 /usr/share/man
* QA Notice: the following files are outside of the prefix:
* /usr
* /usr/bin
* /usr/bin/httperf
* /usr/bin/idleconn
* ERROR: app-benchmarks/httperf-0.9.0-r1 failed:
* Aborting due to QA concerns: there are files installed outside the prefix
*
* Call stack:
npm ERR! Error: EROFS, symlink '../ws/bin/wscat'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Linux 3.2.0-23-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--production" "socket.io"
npm ERR! cwd /home/vagrant/harpoon
npm ERR! node -v v0.8.12
diff --git a/classes/kohana/unittest/tests.php b/classes/kohana/unittest/tests.php
index b87ba52..98f8974 100644
--- a/classes/kohana/unittest/tests.php
+++ b/classes/kohana/unittest/tests.php
@@ -18,7 +18,7 @@ class Kohana_Unittest_Tests {
* is greater than or equal to 3.5
* @var boolean
*/
- static protected $phpunit_v35 = FALSE;
+ static protected $phpunit_v35 = TRUE;
2012-10-17T16:33:40+00:00 app[postgres]: [5-1] u7tj1vbt0q5kn7 [GOLD] LOG: could not receive data from client: Connection reset by peer
2012-10-17T16:33:40+00:00 app[postgres]: [6-1] u7tj1vbt0q5kn7 [GOLD] LOG: unexpected EOF on client connection
2012-10-17T16:33:40+00:00 app[postgres]: [5-1] u7tj1vbt0q5kn7 [GOLD] LOG: could not receive data from client: Connection reset by peer
2012-10-17T16:33:40+00:00 app[postgres]: [6-1] u7tj1vbt0q5kn7 [GOLD] LOG: unexpected EOF on client connection
2012-10-17T16:33:40+00:00 app[postgres]: [5-1] u7tj1vbt0q5kn7 [GOLD] LOG: could not receive data from client: Connection reset by peer
2012-10-17T16:33:40+00:00 app[postgres]: [6-1] u7tj1vbt0q5kn7 [GOLD] LOG: unexpected EOF on client connection
2012-10-17T16:33:40+00:00 app[postgres]: [5-1] u7tj1vbt0q5kn7 [GOLD] LOG: could not receive data from client: Connection reset by peer
2012-10-17T16:33:40+00:00 app[postgres]: [6-1] u7tj1vbt0q5kn7 [GOLD] LOG: unexpected EOF on client connection
"Sending: \x00\x00\x008\x02\v\x00\x00\x00\x01htspversion\x06\x03\n\x00\x00\x00\x05clientnamerspec\x03\x06\x00\x00\x00\x05methodhello"
#<HTSP::Message:0x007f899d1eac48 @params={"htspversion"=>6, "servername"=>"HTS Tvheadend", "serverversion"=>"3.1.769~g4303374", "challenge"=>"\x13\xB3s\xBC\xC3*Bc \xDA\xA02\xE4\xB9u\xE8\x97D\x15\xD5Ny\xAFM\xE0(i\xB2\x91\xC8\xA6&", "servercapability"=>{}}>
"Sending: \x00\x00\x00P\x03\b\x00\x00\x00\nusernamejeremybush\x03\x06\x00\x00\x00\x14digest\x82k_\xE2b\x9E\xA2\x89\xE1\xA7\xA3h\x87Z\x82yD\x1C\x8E\b\x03\x06\x00\x00\x00\fmethodauthenticate"
F
Failures:
1) HTSP::Client authenticate successfully authenticates
Failure/Error: response = subject.authenticate('jeremybush', 'zombor')
RuntimeError:
[:start_date_time, :end_date_time, :updated_at, :created_at].each do |key|
presentation_hash[key] = presentation_hash[key].iso8601 if presentation_hash[key]
end