Mercurial > zeropaste
annotate test/controllers/pastes_controller_test.rb @ 313:cc4171e52bb3
Remove unused image.
author | edogawaconan <me@myconan.net> |
---|---|
date | Sat, 05 Apr 2014 22:51:18 +0900 |
parents | ff27821f9272 |
children | 3c22d4acc2fa |
rev | line source |
---|---|
298 | 1 require "test_helper" |
2 | |
3 class PastesControllerTest < ActionController::TestCase | |
4 test "filters spam" do | |
5 assert_no_difference("Paste.count") do | |
6 post :create, "url1" => "http://hello.com", "paste" => { "paste" => "here be paste", "key" => "12341234" } | |
7 end | |
8 | |
9 assert_response :success | |
10 end | |
11 end |