Mercurial > zeropaste
diff test/controllers/pastes_controller_test.rb @ 428:9fc6b919369c
Whoops, broken the very basic thing
Added test.
author | nanaya <me@myconan.net> |
---|---|
date | Sun, 15 Nov 2015 15:10:01 +0900 |
parents | 325fcf388442 |
children | 1d113463d154 |
line wrap: on
line diff
--- a/test/controllers/pastes_controller_test.rb Sat Nov 14 20:43:49 2015 +0900 +++ b/test/controllers/pastes_controller_test.rb Sun Nov 15 15:10:01 2015 +0900 @@ -32,4 +32,10 @@ assert_response :success end + + test "shows paste" do + get :show, :id => pastes(:basic).id + + assert_response :success + end end