Add contestants
This commit is contained in:
7
test/controllers/contestants_controller_test.rb
Normal file
7
test/controllers/contestants_controller_test.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
require "test_helper"
|
||||
|
||||
class ContestantsControllerTest < ActionDispatch::IntegrationTest
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
11
test/fixtures/contestants.yml
vendored
Normal file
11
test/fixtures/contestants.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
name: MyString
|
||||
email: MyString
|
||||
contest: one
|
||||
|
||||
two:
|
||||
name: MyString
|
||||
email: MyString
|
||||
contest: two
|
7
test/models/contestant_test.rb
Normal file
7
test/models/contestant_test.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
require "test_helper"
|
||||
|
||||
class ContestantTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
Reference in New Issue
Block a user