Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Return a default description when it is empty #437

Merged
merged 1 commit into from
Jan 2, 2019

Conversation

sauloperez
Copy link
Collaborator

This fixes the following error spotted in Sidekiq web UI. See below

screenshot from 2018-09-27 13-13-35

context 'integration' do
it 'creates as many PushNotification resources as needed' do
expect { creator.create! }.to change { PushNotification.count }.by(1)
end
Copy link
Collaborator Author

@sauloperez sauloperez Sep 27, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testing only this was very naive IMO.

@sauloperez
Copy link
Collaborator Author

@sauloperez
Copy link
Collaborator Author

Shall we invest some time in testing @sseerrggii ?

@coopdevs coopdevs deleted a comment from sseerrggii Jan 2, 2019
@sauloperez
Copy link
Collaborator Author

Talked offline. We might have tested this already but we'll double check now that I deployed it to staging.

@sseerrggii
Copy link
Contributor

Tested! ✔️

@sauloperez sauloperez merged commit e6ef119 into develop Jan 2, 2019
@sauloperez sauloperez deleted the fix-notifications-with-empty-description branch January 2, 2019 12:47
@enricostano enricostano mentioned this pull request Feb 18, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants