Ordering.spec.js
466 Bytes
define(function(require) {
'use strict';
var Backbone = require('backbone');
var Ordering = require('solr/model/Ordering');
describe('Ordering', function() {
it('loads', function() {
expect(Ordering).toBeDefined();
});
it('items are different instances', function() {
var o1 = new Ordering(), o2 = new Ordering();
expect(o1.get('items')).not.toBe(o2.get('items'));
});
});
});