FIX: Exclude UserAuthToken and UserAuthTokenLog in user webhook.

This commit is contained in:
Guo Xiang Tan
2018-08-31 17:25:56 +08:00
parent ae2f00ee73
commit 5a214a687c
2 changed files with 3 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ RSpec.describe WebHookUserSerializer do
it 'should only include the required keys' do
count = serializer.as_json.keys.count
difference = count - 45
difference = count - 43
expect(difference).to eq(0), lambda {
message = ""