Cast me
This commit is contained in:
12
spec/models/casting_call_interview_spec.rb
Normal file
12
spec/models/casting_call_interview_spec.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe CastingCallInterview, type: :model do
|
||||
describe "associations" do
|
||||
it { is_expected.to belong_to(:casting_call) }
|
||||
it { is_expected.to have_secure_token(:token) }
|
||||
end
|
||||
|
||||
describe "validations" do
|
||||
it { is_expected.to validate_presence_of(:performer_name) }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user