[#217,backend/ckan][xs]: correct argument order to query method and make test into a proper module to stop cross test pollution.
This commit is contained in:
parent
74132d36d7
commit
24f13366c0
@ -37,7 +37,7 @@ this.recline.Backend.Ckan = this.recline.Backend.Ckan || {};
|
||||
return dfd.promise();
|
||||
};
|
||||
|
||||
my.query = function(dataset, queryObj) {
|
||||
my.query = function(queryObj, dataset) {
|
||||
var wrapper = my.DataStore(dataset.url);
|
||||
var actualQuery = {
|
||||
resource_id: dataset.id,
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
(function ($) {
|
||||
module("Backend CKAN");
|
||||
|
||||
test("fetch", function() {
|
||||
@ -162,3 +163,4 @@ var sample_data = {
|
||||
"success": true
|
||||
};
|
||||
|
||||
})(this.jQuery);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user