metamaps--metamaps/app/assets/javascripts/test/Metamaps.Import.spec.js
2016-04-26 10:22:32 +08:00

13 lines
359 B
JavaScript

var chai = require('chai')
var expect = chai.expect
Metamaps = {}
Metamaps.Import = require('../src/Metamaps.Import')
describe('Metamaps.Import.js', function() {
it('has a topic whitelist', function() {
expect(Metamaps.Import.topicWhitelist).to.deep.equal(
['id', 'name', 'metacode', 'x', 'y', 'description', 'link', 'permission']
)
})
})