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

Adds a slack notification when a dispute is resolved #218

Merged
merged 1 commit into from Jan 24, 2017
Merged

Conversation

orta
Copy link
Member

@orta orta commented Jan 12, 2017

Fixes social issues, it's hard to know if a dispute has been resolved from just our chat room. If I go away for a while no-one really knows if I'm not doing the disputes so they just kinda get abandoned till I remember. Now people can see that nothing has happened.

@disputes.first.reload.message.should == 'HELLO'
end

it 'sends slack notification for a dispute' do
Copy link
Member Author

Choose a reason for hiding this comment

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

couldn't think of a way to verify that the slack message was triggered, we didn't have them for the other one either

Copy link
Member

Choose a reason for hiding this comment

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

then this test name is misleading

@dnkoutso
Copy link
Contributor

LGTM.


module Pod
module TrunkApp
class SlackController
Copy link
Member

Choose a reason for hiding this comment

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

make this a module instead of a class since its never instantiated

@orta orta merged commit 357cbc2 into master Jan 24, 2017
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.

None yet

3 participants