Permalink
Browse files

Added JavaScript TriggerFlow tests.

  • Loading branch information...
1 parent f9e4878 commit 0e7acfb7852d8fcc23c8a98d644d7e6043278e6b @jprichardson committed Jan 22, 2013
Showing with 119 additions and 1 deletion.
  1. +5 −1 lib/triggerflow.js
  2. +114 −0 test/triggerflow.test.js
View
@@ -43,6 +43,10 @@ TriggerFlow.create = function(object, callback) {
}
-module.exports.TriggerFlow = TriggerFlow;
+module.exports = function trigger (object, callback) {
+ return TriggerFlow.create(object, callback)
+}
+
+module.exports.TriggerFlow = TriggerFlow
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 0e7acfb

Please sign in to comment.