]> git.wincent.com - wikitext.git/commitdiff
Rename spec/trash -> spec/.trash
authorWincent Colaiuta <win@wincent.com>
Sat, 28 May 2011 07:12:29 +0000 (00:12 -0700)
committerWincent Colaiuta <win@wincent.com>
Sat, 28 May 2011 07:12:29 +0000 (00:12 -0700)
This has a number of benefits:

  - things which search (like Command-T and ack) won't waste time
    looking at the enormous quantity of stuff that accumulates in the
    trash dir
  - RSpec won't try to run stuff buried deep down inside the trash dir,
    almost certainly breaking

Signed-off-by: Wincent Colaiuta <win@wincent.com>
spec/.trash/.gitignore [moved from spec/trash/.gitignore with 100% similarity]
spec/rails_spec.rb

similarity index 100%
rename from spec/trash/.gitignore
rename to spec/.trash/.gitignore
index 81835b0bb2d91e7a14be6d01f3530be6ea213ec7..9304a1c43cb4570f64a467e4136aedfcf9dbbba8 100644 (file)
@@ -28,7 +28,7 @@ require 'pathname'
 require 'wopen3'
 
 module RailsSpecs
-  TRASH_PATH              = Pathname.new(__FILE__).dirname + 'trash'
+  TRASH_PATH              = Pathname.new(__FILE__).dirname + '.trash'
   AREL_CLONE_PATH         = TRASH_PATH + 'arel.git'
   AREL_REPO               = 'git://github.com/rails/arel.git'
   RAILS_CLONE_PATH        = TRASH_PATH + 'rails.git'