Skip to content

Commit

Permalink
Merge pull request rubyforgood#5849 from elasticspoon/feat/remove-pot…
Browse files Browse the repository at this point in the history
…ential-parallel-timeouts

feat: remove timeout from case_contacts_count test
  • Loading branch information
compwron authored Jun 21, 2024
2 parents fe8b33d + 3057632 commit dd152ad
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions spec/models/casa_org_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,27 +100,6 @@
end
end

describe "user_count" do
let(:org) { create(:casa_org) }
subject(:count) { org.user_count }
before do
2.times { create(:user, casa_org: org) }
end
it { is_expected.to eq 2 }
end

describe "case_contacts_count" do
let(:org) { create(:casa_org) }
subject(:count) { org.case_contacts_count }
before do
5.times do
casa_case = create(:casa_case, casa_org: org)
3.times { create(:case_contact, casa_case: casa_case) }
end
end
it { is_expected.to eq 15 }
end

describe "generate_defaults" do
let(:org) { create(:casa_org) }
let(:fake_topics) { [{"question" => "Test Title", "details" => "Test details"}] }
Expand Down

0 comments on commit dd152ad

Please sign in to comment.