{"size": 471, "ext": "js", "max_stars_repo_path": "test/unit/directives/version-directive.spec.js", "max_stars_repo_name": "ekarudianto/binding-angular", "max_stars_repo_stars_event_min_datetime": "2020-08-06T21:13:30.000Z", "max_stars_repo_stars_event_max_datetime": "2020-08-06T21:13:30.000Z", "max_issues_repo_path": "test/unit/directives/version-directive.spec.js", "max_issues_repo_name": "ekarudianto/NG-write", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/unit/directives/version-directive.spec.js", "max_forks_repo_name": "ekarudianto/NG-write", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.7894736842, "max_line_length": 66, "alphanum_fraction": 0.5690021231}
describe('Version directive testcases :', function () {

    beforeEach(module('app'));
    beforeEach(module('app.directives'));
    beforeEach(inject(function (CONFIG) {
        this.config = CONFIG;
    }));

    it('Should print correct template', function () {

        inject(function ($compile, $rootScope) {
            var elm = $compile('<version></version>')($rootScope);
            expect(elm.text()).toBe('Version : {{version}}');
        });

    });

});
