Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #2205 from arunagw/test_un_3_0_stable

rake test:uncommitted for 3-0-stable
  • Loading branch information...
commit 19d968958d48b59371b99bf91d419ec6f37e0452 2 parents c39bd5f + b490fd8
@spastorino spastorino authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/rails/test_unit/testing.rake
View
4 railties/lib/rails/test_unit/testing.rake
@@ -103,9 +103,9 @@ namespace :test do
Rake::TestTask.new(:uncommitted => "test:prepare") do |t|
def t.file_list
if File.directory?(".svn")
- changed_since_checkin = silence_stderr { `svn status` }.map { |path| path.chomp[7 .. -1] }
+ changed_since_checkin = silence_stderr { `svn status` }.split.map { |path| path.chomp[7 .. -1] }
elsif File.directory?(".git")
- changed_since_checkin = silence_stderr { `git ls-files --modified --others` }.map { |path| path.chomp }
+ changed_since_checkin = silence_stderr { `git ls-files --modified --others` }.split.map { |path| path.chomp }
else
abort "Not a Subversion or Git checkout."
end
Please sign in to comment.
Something went wrong with that request. Please try again.