Skip to content
Browse files

fix testbed

  • Loading branch information...
1 parent 45361d3 commit 2a512934b612d55fafb49eddf4fd549c73d30af7 @dominictarr committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 testbed.js
View
6 testbed.js
@@ -94,7 +94,7 @@ var also = {
if(err) throw err//FIXME
var m = /commit (.*)/(data.split('\n').shift())
if(m){
- self.state.commit = m[1]
+ self.commit = m[1]
self._id = [self.username,self.project,m[1]]
self.change('id',self._id)
}
@@ -254,11 +254,11 @@ var also = {
'project',
'test','*.js'),
function (err,tests){
- self.state.tests = []
+ self.report.tests = []
function next (test){
metatest.run({filename: test },
function (err,report){
- self.state
+
self.change('test',err,report)
self.report.tests.push(report)
if(err)

0 comments on commit 2a51293

Please sign in to comment.
Something went wrong with that request. Please try again.