Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Server: Emit resource:destroy event #210

Merged
merged 1 commit into from
Feb 5, 2016

Conversation

junosuarez
Copy link
Contributor

For symmetry with the resource:new event that we currently emit, and to enable unobtrusive instrumentation.

Required

  • 👍 from @zendesk/radar

Risks

  • None

@junosuarez junosuarez changed the title Server: Emit resource:destory event Server: Emit resource:destroy event Feb 5, 2016
}

radarServer.on('resource:destroy', function (resource) {
expect(resource).to.equal(stubResource)
Copy link
Contributor

Choose a reason for hiding this comment

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

the deletion right after the emit worries me. Let's assert on values of "to".

Copy link
Contributor

Choose a reason for hiding this comment

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

oh wait. nm.

@vanchi-zendesk
Copy link
Contributor

👍

junosuarez added a commit that referenced this pull request Feb 5, 2016
@junosuarez junosuarez merged commit 0c90a1d into master Feb 5, 2016
@junosuarez junosuarez deleted the jden/emit_resource_destroy_event branch February 5, 2016 17:07
@junosuarez junosuarez mentioned this pull request Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants