Mercurial > zeropaste
comparison 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 |
comparison
equal
deleted
inserted
replaced
427:cbfb3a0a9d2e | 428:9fc6b919369c |
---|---|
30 post :create, "url1" => "http://hello.com", "paste" => { "paste" => "here be paste", "key" => "12341234" } | 30 post :create, "url1" => "http://hello.com", "paste" => { "paste" => "here be paste", "key" => "12341234" } |
31 end | 31 end |
32 | 32 |
33 assert_response :success | 33 assert_response :success |
34 end | 34 end |
35 | |
36 test "shows paste" do | |
37 get :show, :id => pastes(:basic).id | |
38 | |
39 assert_response :success | |
40 end | |
35 end | 41 end |