summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 12:14:46 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 12:14:46 +0100
commit186ce80e7b22920ea7d54c579f635eec2d1ee98f (patch)
treef4197dc02a45cab4583dab037d93c7f402b0d81d /test
parentab63774d954fe1f967a97ffe5a0a66016eca2257 (diff)
Added a voicemail and fax trigger. #127
Diffstat (limited to 'test')
-rw-r--r--test/functional/trigger_controller_test.rb14
-rw-r--r--test/unit/helpers/trigger_helper_test.rb4
2 files changed, 18 insertions, 0 deletions
diff --git a/test/functional/trigger_controller_test.rb b/test/functional/trigger_controller_test.rb
new file mode 100644
index 0000000..de64e4f
--- /dev/null
+++ b/test/functional/trigger_controller_test.rb
@@ -0,0 +1,14 @@
+require 'test_helper'
+
+class TriggerControllerTest < ActionController::TestCase
+ test "should get voicemail" do
+ get :voicemail
+ assert_response :success
+ end
+
+ test "should get fax" do
+ get :fax
+ assert_response :success
+ end
+
+end
diff --git a/test/unit/helpers/trigger_helper_test.rb b/test/unit/helpers/trigger_helper_test.rb
new file mode 100644
index 0000000..5f81a88
--- /dev/null
+++ b/test/unit/helpers/trigger_helper_test.rb
@@ -0,0 +1,4 @@
+require 'test_helper'
+
+class TriggerHelperTest < ActionView::TestCase
+end