{"size": 536, "ext": "js", "max_stars_repo_path": "test/unit/common/filters/uriSafe.js", "max_stars_repo_name": "cloughrm/Hex-Color-Picker", "max_stars_repo_stars_event_min_datetime": "2015-09-17T22:36:03.000Z", "max_stars_repo_stars_event_max_datetime": "2015-09-17T22:36:03.000Z", "max_issues_repo_path": "test/unit/common/filters/uriSafe.js", "max_issues_repo_name": "cloughrm/Hex-Color-Picker", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/unit/common/filters/uriSafe.js", "max_forks_repo_name": "cloughrm/Hex-Color-Picker", "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": 28.2105263158, "max_line_length": 82, "alphanum_fraction": 0.5895522388}
describe('The pretty filter', function () {
    'use strict';

    var filter;

    beforeEach(function () {
        module('###CHANGE_THIS_TO_ANGULAR_APP_NAME###');
        inject(function ($injector) {
            filter = $injector.get('$filter')('uriSafe');
        });
    });

    it('should return a URI Safe version of the strings characters', function () {
        var input = 'hello world&everyobdy+in/it';
        var result = filter(input);
        expect(result).toEqual('hello%20world%26everyobdy%2Bin%2Fit');
    });
});
