Trim WebHookTopicSerializer further.

This commit is contained in:
Guo Xiang Tan
2018-05-21 10:28:12 +08:00
parent b229c112f6
commit 3ff0074e9d
3 changed files with 24 additions and 3 deletions

View File

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