projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check in a bit of partial work on controller testcases, but I'm calling it a day...
[selectricity-live]
/
test
/
functional
/
quickvote_controller_test.rb
diff --git
a/test/functional/quickvote_controller_test.rb
b/test/functional/quickvote_controller_test.rb
index d0b37d90c170891a78723739631300e12ec9c88a..f2b0c2c06c1ddff655fdd08e71c54e813df2472c 100644
(file)
--- a/
test/functional/quickvote_controller_test.rb
+++ b/
test/functional/quickvote_controller_test.rb
@@
-12,7
+12,11
@@
class QuickvoteControllerTest < Test::Unit::TestCase
end
# Replace this with your real tests.
- def test_truth
- assert true
+ def test_index
+ get :index
+ assert_response 302
+ end
+ def test_create_quickvote
+
end
end
Benjamin Mako Hill
||
Want to submit a patch?