move tmp dir for specs;
This commit is contained in:
parent
3c789ab317
commit
5d45b8b91b
4 changed files with 4 additions and 2 deletions
2
Rakefile
2
Rakefile
|
@ -15,7 +15,7 @@ spec = Gem::Specification.new do |s|
|
|||
s.authors = ["J. Chris Anderson"]
|
||||
s.files = %w( LICENSE README.rdoc Rakefile THANKS ) +
|
||||
Dir["{bin,examples,lib,spec,utils}/**/*"] -
|
||||
Dir["spec/fixtures/couchapp*/**/*"] - Dir["spec/fixtures/couchapp*"]
|
||||
Dir["spec/tmp"]
|
||||
s.extra_rdoc_files = %w( README.rdoc LICENSE THANKS )
|
||||
s.require_path = "lib"
|
||||
s.bindir = 'bin'
|
||||
|
|
1
spec/.gitignore
vendored
Normal file
1
spec/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
tmp
|
|
@ -63,7 +63,7 @@ describe CouchRest::FileManager, "pushing an app" do
|
|||
@db.delete! rescue nil
|
||||
@db = @cr.create_db(TESTDB) rescue nil
|
||||
|
||||
@appdir = FIXTURE_PATH + '/generated-app'
|
||||
@appdir = SCRATCH_PATH + '/generated-app'
|
||||
|
||||
`rm -rf #{@appdir}`
|
||||
`mkdir -p #{@appdir}`
|
||||
|
|
|
@ -4,6 +4,7 @@ require "spec" # Satisfies Autotest and anyone else not using the Rake tasks
|
|||
require File.dirname(__FILE__) + '/../lib/couchrest'
|
||||
|
||||
FIXTURE_PATH = File.dirname(__FILE__) + '/fixtures'
|
||||
SCRATCH_PATH = File.dirname(__FILE__) + '/tmp'
|
||||
|
||||
COUCHHOST = "http://127.0.0.1:5984"
|
||||
TESTDB = 'couchrest-test'
|
||||
|
|
Loading…
Reference in a new issue