From 415d266f610dc5b8f31d0046b6e1ce70d5ab0d62 Mon Sep 17 00:00:00 2001 From: Mathias Meyer Date: Wed, 18 Jun 2014 11:31:13 +0200 Subject: [PATCH] Fix typo. --- lib/travis/api/app/responders/xml.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/travis/api/app/responders/xml.rb b/lib/travis/api/app/responders/xml.rb index 12258d3c..1fd217c5 100644 --- a/lib/travis/api/app/responders/xml.rb +++ b/lib/travis/api/app/responders/xml.rb @@ -49,7 +49,7 @@ module Travis::Api::App::Responders def build(repository) if branch.present? - repository.last_complete_build(branch) + repository.last_completed_build(branch) else repository.last_build end