diff options
author | Alex Legler <alex@a3li.li> | 2011-08-20 12:26:41 +0200 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2011-08-20 12:26:41 +0200 |
commit | f632b8226c8f11dbb5a263c34cf5f1d618bdf5ff (patch) | |
tree | e4885e213ff500b12d956d20324a310067cd1b7a /test | |
parent | Reset vertical align of box header graphics (diff) | |
download | glsamaker-f632b8226c8f11dbb5a263c34cf5f1d618bdf5ff.tar.gz glsamaker-f632b8226c8f11dbb5a263c34cf5f1d618bdf5ff.tar.bz2 glsamaker-f632b8226c8f11dbb5a263c34cf5f1d618bdf5ff.zip |
Add BugsController to replace the addbug{,save} hack in GLSAController
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/bugs_controller_test.rb | 24 | ||||
-rw-r--r-- | test/unit/helpers/bugs_helper_test.rb | 4 |
2 files changed, 28 insertions, 0 deletions
diff --git a/test/functional/bugs_controller_test.rb b/test/functional/bugs_controller_test.rb new file mode 100644 index 0000000..4637e04 --- /dev/null +++ b/test/functional/bugs_controller_test.rb @@ -0,0 +1,24 @@ +require 'test_helper' + +class BugsControllerTest < ActionController::TestCase + test "should get new" do + get :new + assert_response :success + end + + test "should get create" do + get :create + assert_response :success + end + + test "should get destroy" do + get :destroy + assert_response :success + end + + test "should get show" do + get :show + assert_response :success + end + +end diff --git a/test/unit/helpers/bugs_helper_test.rb b/test/unit/helpers/bugs_helper_test.rb new file mode 100644 index 0000000..1f3a2a5 --- /dev/null +++ b/test/unit/helpers/bugs_helper_test.rb @@ -0,0 +1,4 @@ +require 'test_helper' + +class BugsHelperTest < ActionView::TestCase +end |