devtools/test/data/js_examples/test_with_dep.js
author Christophe de Vienne <cdevienne@gmail.com>
Wed, 11 Dec 2013 17:52:54 +0100
changeset 9347 bd841d6ae723
parent 5742 74c19dac29cf
child 10426 ce213d6858f1
permissions -rw-r--r--
[rset] New method: ResultSet.one() This method will return exactly one entity while enforcing its existence and unicity. The idea is shamelessly borowed from SQLAlchemy Query.one(). Closes #3352314 [jcr: use len(self) instead of len(self.rows)]

$(document).ready(function() {

  module("air");

  test("test 1", function() {
      equals(a, 4);
  });

});