Skip to content
Snippets Groups Projects
Commit 7ac6e622 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unit test for getName

parent cc911387
No related branches found
No related tags found
1 merge request!7Resolve "info about loading data from server"
...@@ -211,4 +211,14 @@ describe('minerva global', function() { ...@@ -211,4 +211,14 @@ describe('minerva global', function() {
}); });
}); });
it('getProject', function() {
var callbackOk = false;
return ServerConnector.getProject().then(function(project) {
var options = helper.createCustomMapOptions(project);
return minerva.create(options);
}).then(function(result) {
assert.equal(result.getProject().getProjectId(), "sample");
});
});
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment