<commit_before>var should = require('should'),
    assert = require('assert'),
    mow = require('../lib/mow');


describe('mow',
    function(){

        describe('constructor require vendor string',function(){
            it('shold return empty object giving invalid argument ', function() {
                (new mow()).should.be.empty;
                (new mow('')).should.be.empty;
                (new mow('invalid')).should.be.empty;
            });

            it('should have client when create with valid argument', function() {
                var support_api = ['ATND', 'Doorkeeper', 'connpass', 'Zusaar'];
                support_api.forEach(function(api){
                    var test_mow = new mow(api);
                    should.exist(test_mow.client);
                    test_mow.client.should.have.property('vendor', api);
                });
            });
        });

        describe('find method', function(){
            it('findById', function(){
                var atnd = new mow('ATND');
                atnd.findById('51779', function(err, body){
                    console.log();
                });

            });
        });
    }
);<commit_msg>ATNDのスペックを追加した。<commit_after>var should = require('should'),
    assert = require('assert'),
    mow = require('../lib/mow');


describe('mow',
    function(){

        describe('constructor require vendor string',function(){
            it('shold return empty object giving invalid argument ', function() {
                (new mow()).should.be.empty;
                (new mow('')).should.be.empty;
                (new mow('invalid')).should.be.empty;
            });

            it('should have client when create with valid argument', function() {
                var support_api = ['ATND', 'Doorkeeper', 'connpass', 'Zusaar'];
                support_api.forEach(function(api){
                    var test_mow = new mow(api);
                    should.exist(test_mow.client);
                    test_mow.client.should.have.property('vendor', api);
                });
            });
        });

        describe('find method', function(){
            it('findById', function(){
                var atnd = new mow('ATND');
                var response_json={};
                atnd.findById('51779', function(err, body){
                    body.should.not.be.empty;
                    assert(false);
                    done();
                });

            });
        });
    }
);
{'fraction_non_alphanumeric': 0.14758064516129032, 'fraction_numerical': 0.004032258064516129, 'mean_word_length': 1.56301652892562, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6048443', 'n_tokens_mistral': 674, 'n_tokens_neox': 630, 'n_words': 130}