Trim WebHookPostSerializer further.

This commit is contained in:
Guo Xiang Tan
2018-05-21 10:52:57 +08:00
parent 3ff0074e9d
commit 60e7b13f59
3 changed files with 11 additions and 1 deletions

View File

@ -10,7 +10,7 @@ RSpec.describe WebHookPostSerializer do
it 'should only include the required keys' do
count = serialized_for_user(admin).keys.count
difference = count - 41
difference = count - 34
expect(difference).to eq(0), lambda {
message = ""