summaryrefslogtreecommitdiff
path: root/test/functional/conference_invitees_controller_test.rb
blob: 8ac5479a7d56e21ce436d59c8eb634f95f1dcc63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
require 'test_helper'

class ConferenceInviteesControllerTest < ActionController::TestCase
  
  setup do
    @conference_invitee = FactoryGirl.create(:conference_invitee)
  end

#   test "should get index" do
#     get :index
#     assert_response :success
#     assert_not_nil assigns(:conference_invitees)
#   end
# 
#   test "should get new" do
#     get :new
#     assert_response :success
#   end
# 
#   test "should create conference_invitee" do
#     assert_difference('ConferenceInvitee.count') do
#       post :create, conference_invitee: @conference_invitee.attributes
#     end
#     assert_redirected_to conference_invitee_path(assigns(:conference_invitee))
#   end
# 
#   test "should show conference_invitee" do
#     get :show, id: @conference_invitee.to_param
#     assert_response :success
#   end
# 
#   test "should get edit" do
#     get :edit, id: @conference_invitee.to_param
#     assert_response :success
#   end
# 
#   test "should update conference_invitee" do
#     put :update, id: @conference_invitee.to_param, conference_invitee: @conference_invitee.attributes
#     assert_redirected_to conference_invitee_path(assigns(:conference_invitee))
#   end
# 
#   test "should destroy conference_invitee" do
#     assert_difference('ConferenceInvitee.count', -1) do
#       delete :destroy, id: @conference_invitee.to_param
#     end
#     assert_redirected_to conference_invitees_path
#   end
  
end