Skip to content

Commit

Permalink
Fixed Slack notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan committed Jan 23, 2015
1 parent 3540fb5 commit 14650f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/project_services/slack_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def notify_only_broken_builds?

def can_test?
# slack notification is useful only for builds either successful or failed
project.commits.order(id: desc).any? do |commit|
project.commits.order(id: :desc).any? do |commit|
case commit.status.to_sym
when :failed
true
Expand Down

0 comments on commit 14650f7

Please sign in to comment.