45 lines
761 B
Ruby
45 lines
761 B
Ruby
require 'test_helper'
|
|
|
|
class Admin::AdherentsControllerTest < ActionController::TestCase
|
|
test "should get index" do
|
|
get :index
|
|
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
|
|
|
|
test "should get import" do
|
|
get :import
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get import_validation" do
|
|
get :import_validation
|
|
assert_response :success
|
|
end
|
|
|
|
end
|