         Backbone.WebSQL.prototype._executeSql.calledWith("CREATE TABLE IF NOT EXISTS `klass` (`id` unique, `value`, `user_id`, `parent_id`);")
       ).to.be.true
 
+      expect(Backbone.WebSQL.prototype._executeSql.calledOnce).to.be.true
+
     it 'can be defined by objects in array', ->
       Klass = Backbone.Model.extend
         store: new Backbone.WebSQL(db, 'klass', [{name: 'user_id'}])

        Backbone.WebSQL.prototype._executeSql.calledWith("CREATE TABLE IF NOT EXISTS `klass` (`id` unique, `value`, `user_id` INTEGER);")
      ).to.be.true

    it 'can be defined by multiple objects in array', ->
      Klass = Backbone.Model.extend
        store: new Backbone.WebSQL(db, 'klass', [{name: 'user_id'}, {name: 'parent_id'}])

        Backbone.WebSQL.prototype._executeSql.calledWith("CREATE TABLE IF NOT EXISTS `klass` (`id` unique, `value`, `user_id`);")
      ).to.be.true

      expect(Backbone.WebSQL.prototype._executeSql.calledOnce).to.be.true

    it 'can be defined by multiple array', ->
      Klass = Backbone.Model.extend
        store: new Backbone.WebSQL(db, 'klass', ['user_id', 'parent_id'])
