-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2805fff
commit e878f99
Showing
3 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
class Api::V1::EventSchedulesController < ApplicationController | ||
def index | ||
end | ||
|
||
def show | ||
end | ||
|
||
def create | ||
end | ||
|
||
def update | ||
end | ||
|
||
def destroy | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
test/controllers/api/v1/event_schedules_controller_test.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
require "test_helper" | ||
|
||
class Api::V1::EventSchedulesControllerTest < ActionDispatch::IntegrationTest | ||
test "should get index" do | ||
get api_v1_event_schedules_index_url | ||
assert_response :success | ||
end | ||
|
||
test "should get show" do | ||
get api_v1_event_schedules_show_url | ||
assert_response :success | ||
end | ||
|
||
test "should get create" do | ||
get api_v1_event_schedules_create_url | ||
assert_response :success | ||
end | ||
|
||
test "should get update" do | ||
get api_v1_event_schedules_update_url | ||
assert_response :success | ||
end | ||
|
||
test "should get destroy" do | ||
get api_v1_event_schedules_destroy_url | ||
assert_response :success | ||
end | ||
end |