Mercurial > zeropaste
view test/controllers/pastes_controller_test.rb @ 311:408c4a17e1a6
Fix Gemfile groups.
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 12 Mar 2014 19:58:51 +0900 |
parents | ff27821f9272 |
children | 3c22d4acc2fa |
line wrap: on
line source
require "test_helper" class PastesControllerTest < ActionController::TestCase test "filters spam" do assert_no_difference("Paste.count") do post :create, "url1" => "http://hello.com", "paste" => { "paste" => "here be paste", "key" => "12341234" } end assert_response :success end end