Cast me
This commit is contained in:
@@ -19,6 +19,7 @@ RSpec.describe Project, type: :model do
|
||||
it { is_expected.to have_many(:broadcasts).dependent(:destroy) }
|
||||
it { is_expected.to have_many(:downloads).dependent(:destroy) }
|
||||
it { is_expected.to have_many(:zoom_meetings).dependent(:destroy) }
|
||||
it { is_expected.to have_many(:casting_calls).dependent(:destroy) }
|
||||
end
|
||||
|
||||
describe "nested attributes" do
|
||||
@@ -36,7 +37,7 @@ RSpec.describe Project, type: :model do
|
||||
|
||||
describe "#import_contract_templates" do
|
||||
it "imports contract templates from other projects within the account" do
|
||||
existing_project = create(:project_with_contract_template_public)
|
||||
existing_project = create(:project_with_contract_template)
|
||||
new_project = create(:project, name: "New Project", account: existing_project.account)
|
||||
|
||||
expect {
|
||||
|
||||
Reference in New Issue
Block a user