Permalink
Browse files

remove outdated test suite

  • Loading branch information...
1 parent 5130dda commit da72aebb605840cc7809d099f2c1f0d06be394f9 @daleharvey daleharvey committed Apr 21, 2012
Showing with 0 additions and 66 deletions.
  1. +0 −66 tests/test.extended.js
View
66 tests/test.extended.js
@@ -1,66 +0,0 @@
-asyncTest("All changes", function () {
- pouch.open({
- name: "test",
- success: function (couch) {
- ok(couch);
- couch.post({test:"somestuff"}, {success:function (info) {
- ok(info);
- couch.changes({
- onChange:function (change) {
- if (change.seq == info.seq) {
- start();
- }
- },
- error:function() {
- ok(false); start();}
- });
- }});
- },
- error: function (error) {ok(!error, error); start();}
- });
-});
-
-asyncTest("Continuous changes", function () {
- pouch.open({
- name: "test",
- success: function (couch) {
- ok(couch);
- var count = 0;
- couch.changes({
- onChange : function (change) { count += 1; },
- continuous : true,
- seq : couch.seq + 1,
- complete : function () {
- equal(count, 0);
- couch.post({test:"another"}, {
- success : function (info) {
- setTimeout(function () {equal(count, 1); start();}, 50);
- },
- error : function (error) {ok(!error, error); start();}
- });
- }
- });
- },
- error: function (error) {ok(!error, error); start();}
- });
-});
-
-module('replicate');
-
-asyncTest("replicate from",function() {
- pouch.open({
- name: "test",
- success: function (couch) {
- ok(couch);
- couch.replicate.from({
- url:'/'+window.location.pathname.split('/')[1],
- success: function (changes) {
- //
- },
- error: function (e) {
- //
- }
- });
- }
- });
-});

0 comments on commit da72aeb

Please sign in to comment.