mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
Fix spec
This commit is contained in:
parent
6708e11ab3
commit
464a183e8f
2 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ class Users::TrialWebhookJob < ApplicationJob
|
|||
user_id: user.id,
|
||||
email: user.email,
|
||||
active_until: user.active_until,
|
||||
status: user.status,
|
||||
action: 'create_user'
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@ RSpec.describe Users::TrialWebhookJob, type: :job do
|
|||
expected_payload = {
|
||||
user_id: user.id,
|
||||
email: user.email,
|
||||
active_until: user.active_until,
|
||||
status: user.status,
|
||||
action: 'create_user'
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue