Skip to content
Snippets Groups Projects
Commit 39127430 authored by Hamer Iboshi's avatar Hamer Iboshi
Browse files

Add test to pnad gender

parent 9d217920
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!100Add tests to adm dependency and adm dependency priv to class
Pipeline #
...@@ -208,4 +208,18 @@ describe('request rate_school', () => { ...@@ -208,4 +208,18 @@ describe('request rate_school', () => {
done(); done();
}); });
}); });
it('should list the dimensions of gender', (done) => {
chai.request(server)
.get('/api/v1/rate_school?dims=gender')
.end((err, res) => {
res.should.have.status(200);
res.should.be.json;
res.body.should.have.property('result');
res.body.result.should.be.a('array');
res.body.result[0].should.have.property('gender_pnad_id');
res.body.result[0].should.have.property('gender_pnad_name');
done();
});
});
}); });
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