Skip to content

Commit 6531d8d

Browse files
committed
add smoke spec for LoadCaseContacts concern
1 parent 593c1a7 commit 6531d8d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
require "rails_helper"
2+
3+
RSpec.describe LoadsCaseContacts do
4+
let(:host) do
5+
Class.new do
6+
include LoadsCaseContacts
7+
end
8+
end
9+
10+
it "exists and defines private API" do
11+
expect(described_class).to be_a(Module)
12+
expect(host.private_instance_methods)
13+
.to include(:load_case_contacts, :current_organization_groups, :all_case_contacts)
14+
end
15+
end

0 commit comments

Comments
 (0)