lib/tutter/action/sppuppet.rb in tutter-sppuppet-1.1.0 vs lib/tutter/action/sppuppet.rb in tutter-sppuppet-1.1.1
- old
+ new
@@ -126,10 +126,10 @@
Title: #{pr.title}
Opened by: #{pr.user.login}
Reviewers: #{votes.keys.join ', '}
Deployer: #{merger}
URL: #{pr.url}
-Tests: #{json.tests.map { |s| [s.state, s.description, s.url].join(", ") }.join("\n ")}
+Tests: #{@client.combined_status(@project, pr.head.sha).statuses.map { |s| [s.state, s.description, s.target_url].join(", ") }.join("\n ")}
#{pr.body}
MERGE_MSG
begin
merge_commit = @client.merge_pull_request(@project, pull_request_id, merge_msg)