moved app template

This commit is contained in:
Chris Anderson 2009-01-08 09:50:45 -08:00
parent 9faa9daaca
commit 5d3e684c6a
11 changed files with 4 additions and 3 deletions

View file

@ -20,7 +20,7 @@ module CouchRest
# This is a class method because it doesn't depend on
# specifying a database.
def self.generate_app(app_dir)
templatedir = File.join(File.expand_path(File.dirname(__FILE__)), 'template-app')
templatedir = File.join(File.expand_path(File.dirname(__FILE__)), 'app-template')
FileUtils.cp_r(templatedir, app_dir)
end

View file

@ -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 + '/couchapp/template-app'
@appdir = FIXTURE_PATH + '/generated-app'
`rm -rf #{@appdir}`
`mkdir -p #{@appdir}`

View file

@ -1,2 +1,3 @@
couchapp/*
couchapp-test/*
generated-app