Sha256: e91cc000cbb4c314dfcf526224da387f5b3f94458b0b311364bca52b08bf966a

Contents?: true

Size: 724 Bytes

Versions: 1

Compression:

Stored size: 724 Bytes

Contents

require 'test_helper'

module FormCreate
  class PostsControllerTest < ActionController::TestCase
    test "should get index" do
      get :index
      assert_response :success
    end

    test "should get show" do
      get :show
      assert_response :success
    end

    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 edit" do
      get :edit
      assert_response :success
    end

    test "should get update" do
      get :update
      assert_response :success
    end

    test "should get destroy" do
      get :destroy
      assert_response :success
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
form_create-0.0.1 test/controllers/form_create/posts_controller_test.rb