Permalink
Browse files

fix bug, return correct last file

  • Loading branch information...
1 parent 52032d4 commit ba0ad16957282ef5792549aa6d48c5e560fc01b1 @schneems committed Feb 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/git_test/runner.rb
View
2 lib/git_test/runner.rb
@@ -42,7 +42,7 @@ def show_report(file_name = nil, branch = proj_branch)
# gives last report file name
def last_report_file_name(branch = proj_branch)
- ls_report_dir(branch).first
+ ls_report_dir(branch).last
end
# outputs the files in the test directory for a given branch

0 comments on commit ba0ad16

Please sign in to comment.