Sha256: 59732be64b777f5d8585c3e17dfb2c4f20ced1ab2239b71c0a358552aa31c51d

Contents?: true

Size: 642 Bytes

Versions: 2

Compression:

Stored size: 642 Bytes

Contents

require 'test_helper'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
form_sample-0.0.2 test/controllers/posts_controller_test.rb
form_sample-0.0.1 test/controllers/posts_controller_test.rb