test/unit/test_rails.html in eyeballs-0.3.4.1 vs test/unit/test_rails.html in eyeballs-0.3.5

- old
+ new

@@ -41,10 +41,17 @@ start(); }); }); }) + asyncTest('pulling something in with prefix', 1, function(){ + Review.find(1, {prefix:'/my', success: function(found_review){ + equals(found_review.title, 'Prefixed'); + start(); + }}) + }) + asyncTest('getting all', 2, function(){ var review = Review.initialize({title: 'Local, baby'}); review.save(function(saved_review){ Review.all(function(documents){ equals(documents[0].title, 'Local, baby', 'It should pull in everything') @@ -56,10 +63,9 @@ asyncTest('setting new_record attribute', 2, function(){ var review = Review.initialize() equals(review.new_record, true, 'should be a new record review'); review.save(function(saved_review){ - console.log(saved_review) equals(saved_review.new_record, false, 'should not be a new record after') start(); }); }) \ No newline at end of file