Skip to content

Commit

Permalink
Updated specs
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypoydar committed May 4, 2009
1 parent c943686 commit a09bfff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions spec/tasks/couchrest_rails_tasks.rake_spec.rb
Expand Up @@ -41,10 +41,18 @@

describe 'couchdb:reset' do

it 'should drop and add the database' do

end

end

describe 'couchdb:test:reset' do

it 'should drop and the database for the test environment only' do

end

end

end
Expand Down
2 changes: 1 addition & 1 deletion tasks/couchrest_rails_tasks.rake
Expand Up @@ -16,7 +16,7 @@ namespace :couchdb do
task :drop => :environment do
cr = CouchRest.new(COUCHDB_SERVER[:host])
db = cr.database(COUCHDB_SERVER[:database])
db.delete! rescue nil
db.delete!
end

desc "Drops and recreates the couchdb database for the current RAILS_ENV"
Expand Down

0 comments on commit a09bfff

Please sign in to comment.