This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/utils.js b/lib/utils.js | |
index 229b16d..9d5b957 100644 | |
--- a/lib/utils.js | |
+++ b/lib/utils.js | |
@@ -101,7 +101,7 @@ Extendable.extend = function(Child) { | |
var Surrogate = function() { | |
Array.prototype.unshift.call(arguments, this); | |
- Child.apply(this, arguments); | |
+ return Child.apply(this, arguments); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test/app.test.js b/test/app.test.js | |
index 726a029..c51a86b 100644 | |
--- a/test/app.test.js | |
+++ b/test/app.test.js | |
@@ -16,7 +16,7 @@ describe("VumiUreport", function() { | |
it("should say hello", function() { | |
return tester | |
.start() | |
- .check.state('initial_state') | |
+ .check.user.state('initial_state') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Gruntfile.js b/Gruntfile.js | |
index c503c26..d3e490c 100644 | |
--- a/Gruntfile.js | |
+++ b/Gruntfile.js | |
@@ -42,6 +42,7 @@ module.exports = function (grunt) { | |
}); | |
grunt.registerTask('test', [ | |
+ 'build', | |
'mochaTest' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var vumigo = require('vumigo_v02'); | |
var InteractionMachine = vumigo.InteractionMachine; | |
var App = vumigo.App; | |
var EndState = vumigo.states.EndState; | |
var AlphaApp = App.extend(function(self) { | |
App.call(self, 'states:start'); | |
self.states.add(new EndState('states:start', { | |
text: "Hello from v02! :)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/package.json b/package.json | |
index 80f9a8d..0650e56 100644 | |
--- a/package.json | |
+++ b/package.json | |
@@ -13,7 +13,7 @@ | |
"libxmljs": "~0.8.1", | |
"underscore": "~1.5.2", | |
"vumigo_v01": "~0.1.22", | |
- "vumigo_v02": "~0.2.0-alpha" | |
+ "vumigo_v02": "~0.2.0-alpha2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vumi/application/sandboxer.js b/vumi/application/sandboxer.js | |
index 8b89904..4e997a8 100644 | |
--- a/vumi/application/sandboxer.js | |
+++ b/vumi/application/sandboxer.js | |
@@ -11,14 +11,14 @@ var SandboxApi = function () { | |
self.next_id = function () { | |
self.id += 1; | |
return self.id.toString(); | |
- } | |
+ }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/go/dashboard/views.py b/go/dashboard/views.py | |
index 3b2a34c..0f0c135 100644 | |
--- a/go/dashboard/views.py | |
+++ b/go/dashboard/views.py | |
@@ -1,5 +1,3 @@ | |
-import logging | |
- | |
from django.http import HttpResponse | |
from django.contrib.auth.decorators import login_required | |
from django.views.decorators.http import require_http_methods |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
}diff --git a/go/settings.py b/go/settings.py | |
index 9277b8e..d4ddd02 100644 | |
--- a/go/settings.py | |
+++ b/go/settings.py | |
@@ -212,6 +212,10 @@ LOGGING = { | |
}, | |
}, | |
'handlers': { | |
+ 'sentry': { | |
+ 'level': 'ERROR', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/package.json b/package.json | |
index 0650e56..f8fd063 100644 | |
--- a/package.json | |
+++ b/package.json | |
@@ -13,7 +13,7 @@ | |
"libxmljs": "~0.8.1", | |
"underscore": "~1.5.2", | |
"vumigo_v01": "~0.1.22", | |
- "vumigo_v02": "~0.2.0-alpha2" | |
+ "vumigo_v02": "~0.2.0-beta.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test/fixtures.js b/test/fixtures.js | |
index 6815d1f..d23e624 100644 | |
--- a/test/fixtures.js | |
+++ b/test/fixtures.js | |
@@ -104,8 +104,8 @@ module.exports = function() { | |
"type": "t", | |
"start_date": null | |
}, | |
+ "success": true | |
}, |