Skip to content

Commit

Permalink
Add missing test for association
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Nov 10, 2024
1 parent 07eba7a commit 72eba22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/models/user_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ class UserTest < ActiveSupport::TestCase
assert_instance_of GoogleTasksCredential, users(:keith).google_tasks_credential
end

test "has an associated microsoft_graph_credential" do
assert_instance_of MicrosoftGraphCredential, users(:keith).microsoft_graph_credential
end

test "has an associated http_header_credential" do
assert_instance_of HttpHeaderCredential, users(:rob).http_header_credential
end
Expand Down

0 comments on commit 72eba22

Please sign in to comment.