fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update grunt's jshint task
[fnpeditor.git]
/
src
/
editor
/
modules
/
nodePane
/
metaWidget
/
metaWidget.test.js
diff --git
a/src/editor/modules/nodePane/metaWidget/metaWidget.test.js
b/src/editor/modules/nodePane/metaWidget/metaWidget.test.js
index
05b75dc
..
bc1a579
100644
(file)
--- a/
src/editor/modules/nodePane/metaWidget/metaWidget.test.js
+++ b/
src/editor/modules/nodePane/metaWidget/metaWidget.test.js
@@
-1,10
+1,12
@@
define([
define([
+'libs/jquery',
'libs/chai',
'libs/sinon',
'modules/nodePane/metaWidget/metaWidget'
'libs/chai',
'libs/sinon',
'modules/nodePane/metaWidget/metaWidget'
-], function(chai, sinon, metaWidget) {
+], function(
$,
chai, sinon, metaWidget) {
'use strict';
'use strict';
+/* globals describe, it */
var assert = chai.assert;
var assert = chai.assert;
@@
-13,7
+15,7
@@
describe('metaWidget', function() {
var dom = $('<div>');
var widget = metaWidget.create({
el: dom,
var dom = $('<div>');
var widget = metaWidget.create({
el: dom,
- attrs:
[{name: 'uri', type: 'string', value: 'test string'}]
,
+ attrs:
{'uri': {type: 'string', value: 'test string'}}
,
});
var spy = sinon.spy();
});
var spy = sinon.spy();