Skip to content

Commit

Permalink
Add missing events parameter to test (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgd authored Jun 6, 2024
1 parent 73b2687 commit 7d5335f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion spec/lib/workos/event_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
context 'with the organization_id option' do
it 'forms the proper request to the API' do
request_args = [
'/events?organization_id=org_1234',
'/events?events=dsync.user.created&organization_id=org_1234',
'Content-Type' => 'application/json'
]

Expand All @@ -97,6 +97,7 @@

VCR.use_cassette 'events/list_events_with_organization_id' do
events = described_class.list_events(
events: ['dsync.user.created'],
organization_id: 'org_1234',
)

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7d5335f

Please sign in to comment.