Cast me sync

This commit is contained in:
Senad Uka
2020-07-17 04:50:04 +02:00
parent 96b31b71cf
commit e3acdb4d0e
53 changed files with 678 additions and 635 deletions

View File

@@ -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|

View File

@@ -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) }