Rebased match
This commit is contained in:
@@ -56,6 +56,7 @@ class Account < ApplicationRecord
|
|||||||
Broadcast.where(project: projects),
|
Broadcast.where(project: projects),
|
||||||
ZoomMeeting.where(project: projects),
|
ZoomMeeting.where(project: projects),
|
||||||
MedicalRelease.where(project: projects),
|
MedicalRelease.where(project: projects),
|
||||||
|
# MatchingRequest.where(project: projects),
|
||||||
self
|
self
|
||||||
])).sum(:byte_size).to_f
|
])).sum(:byte_size).to_f
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -144,6 +144,7 @@ feature 'User managing appearance releases' do
|
|||||||
large_pdf_file = build_large_pdf_file
|
large_pdf_file = build_large_pdf_file
|
||||||
attach_file import_appearance_release_field, Rails.root.join(large_pdf_file.path), visible: false
|
attach_file import_appearance_release_field, Rails.root.join(large_pdf_file.path), visible: false
|
||||||
expect(page).to have_css('#upload-progress-container')
|
expect(page).to have_css('#upload-progress-container')
|
||||||
|
expect(page).to have_content submit_create_button, wait: 30
|
||||||
click_button submit_create_button
|
click_button submit_create_button
|
||||||
expect(page).to have_content matching_started
|
expect(page).to have_content matching_started
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -131,7 +131,8 @@ RSpec.describe Account do
|
|||||||
Broadcast,
|
Broadcast,
|
||||||
Account,
|
Account,
|
||||||
ZoomMeeting,
|
ZoomMeeting,
|
||||||
MedicalRelease
|
MedicalRelease,
|
||||||
|
MatchingRequest
|
||||||
]
|
]
|
||||||
Rails.application.eager_load!
|
Rails.application.eager_load!
|
||||||
ActiveRecord::Base.descendants.each do |model|
|
ActiveRecord::Base.descendants.each do |model|
|
||||||
|
|||||||
Reference in New Issue
Block a user