DEV: correct frozen string and broken spec
This needs to be properly handled so the correct message is raised 1 item was removed from the serializer (avg_time)
This commit is contained in:
parent
6ba914033c
commit
bcdf5823a0
|
@ -12,10 +12,10 @@ RSpec.describe WebHookPostSerializer do
|
|||
|
||||
it 'should only include the required keys' do
|
||||
count = serialized_for_user(admin).keys.count
|
||||
difference = count - 34
|
||||
difference = count - 33
|
||||
|
||||
expect(difference).to eq(0), lambda {
|
||||
message = ""
|
||||
message = +""
|
||||
|
||||
if difference < 0
|
||||
message << "#{difference * -1} key(s) have been removed from this serializer."
|
||||
|
|
Loading…
Reference in New Issue