require 'test_helper' class TimelineEventsControllerTest < ActionDispatch::IntegrationTest # setup do # @timeline_event = timeline_events(:one) # end # test "should get index" do # get timeline_events_url # assert_response :success # end # test "should get new" do # get new_timeline_event_url # assert_response :success # end # test "should create timeline_event" do # assert_difference('TimelineEvent.count') do # post timeline_events_url, params: { timeline_event: { } } # end # assert_redirected_to timeline_event_url(TimelineEvent.last) # end # test "should show timeline_event" do # get timeline_event_url(@timeline_event) # assert_response :success # end # test "should get edit" do # get edit_timeline_event_url(@timeline_event) # assert_response :success # end # test "should update timeline_event" do # patch timeline_event_url(@timeline_event), params: { timeline_event: { } } # assert_redirected_to timeline_event_url(@timeline_event) # end # test "should destroy timeline_event" do # assert_difference('TimelineEvent.count', -1) do # delete timeline_event_url(@timeline_event) # end # assert_redirected_to timeline_events_url # end end