Skip to content

Commit 7d5335f

Browse files
authored
Add missing events parameter to test (#305)
1 parent 73b2687 commit 7d5335f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

spec/lib/workos/event_spec.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
context 'with the organization_id option' do
8787
it 'forms the proper request to the API' do
8888
request_args = [
89-
'/events?organization_id=org_1234',
89+
'/events?events=dsync.user.created&organization_id=org_1234',
9090
'Content-Type' => 'application/json'
9191
]
9292

@@ -97,6 +97,7 @@
9797

9898
VCR.use_cassette 'events/list_events_with_organization_id' do
9999
events = described_class.list_events(
100+
events: ['dsync.user.created'],
100101
organization_id: 'org_1234',
101102
)
102103

spec/support/fixtures/vcr_cassettes/events/list_events_with_organization_id.yml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)