notebook/test/controllers/to_write/user_followings_controller_test.rb
2021-05-21 17:08:18 -07:00

49 lines
1.2 KiB
Ruby

require 'test_helper'
class UserFollowingsControllerTest < ActionDispatch::IntegrationTest
# setup do
# @user_following = user_followings(:one)
# end
# test "should get index" do
# get user_followings_url
# assert_response :success
# end
# test "should get new" do
# get new_user_following_url
# assert_response :success
# end
# test "should create user_following" do
# assert_difference('UserFollowing.count') do
# post user_followings_url, params: { user_following: { } }
# end
# assert_redirected_to user_following_url(UserFollowing.last)
# end
# test "should show user_following" do
# get user_following_url(@user_following)
# assert_response :success
# end
# test "should get edit" do
# get edit_user_following_url(@user_following)
# assert_response :success
# end
# test "should update user_following" do
# patch user_following_url(@user_following), params: { user_following: { } }
# assert_redirected_to user_following_url(@user_following)
# end
# test "should destroy user_following" do
# assert_difference('UserFollowing.count', -1) do
# delete user_following_url(@user_following)
# end
# assert_redirected_to user_followings_url
# end
end