Cast me sync
This commit is contained in:
@@ -137,7 +137,7 @@ RSpec.describe Account do
|
||||
MatchingRequest,
|
||||
ActionMailbox::InboundEmail, # This is Rails model, we are not using it and it is NOT added to the Account#storage_total calculation
|
||||
CastingCall,
|
||||
CastingCallInterview
|
||||
CastingSubmission
|
||||
]
|
||||
Rails.application.eager_load!
|
||||
ActiveRecord::Base.descendants.each do |model|
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe CastingCallInterview, type: :model do
|
||||
subject { build(:casting_call_interview) }
|
||||
RSpec.describe CastingSubmission, type: :model do
|
||||
subject { build(:casting_submission) }
|
||||
|
||||
describe "associations" do
|
||||
it { is_expected.to belong_to(:casting_call) }
|
||||
it { is_expected.to have_secure_token(:token) }
|
||||
Reference in New Issue
Block a user