summaryrefslogtreecommitdiff
path: root/help/test/functional
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2012-10-05 15:41:03 -0700
committerjessib <jessib@riseup.net>2012-10-05 15:41:03 -0700
commita6de1561461cc719fddd8175c93588a47513a4b8 (patch)
treef406d98575b0515135808750f22bcb03be02b1af /help/test/functional
parent118d9ab5c9f4d7a82b7cf24774ef12d3c221f8ef (diff)
Rough code to add & comment on tickets.
Diffstat (limited to 'help/test/functional')
-rw-r--r--help/test/functional/tickets_controller_test.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/help/test/functional/tickets_controller_test.rb b/help/test/functional/tickets_controller_test.rb
new file mode 100644
index 0000000..6d9ff09
--- /dev/null
+++ b/help/test/functional/tickets_controller_test.rb
@@ -0,0 +1,15 @@
+require 'test_helper'
+
+class TicketsControllerTest < ActionController::TestCase
+ # test "the truth" do
+ # assert true
+ # end
+ test "should get new" do
+ get :new
+ assert_equal Ticket, assigns(:ticket).class
+ assert_response :success
+ end
+
+
+
+end