Sha256: 4e86926031ab716d647e623bc8ce057b30caa94e22b95008ba6a12a5a2da4f35

Contents?: true

Size: 379 Bytes

Versions: 33

Compression:

Stored size: 379 Bytes

Contents

beforeEach(function () {
    this.addMatchers({
        toEqualData: function (expected) {
            return angular.equals(this.actual, expected);
        },
        toBeFunction: function () {
            return angular.isFunction(this.actual);
        },
        toBeInstanceOf: function (expected) {
            return this.actual instanceof expected;
        }

    });
});

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
angularjs-rails-resource-2.3.1 test/unit/helpers/spec_helper.js
angularjs-rails-resource-2.3.0 test/unit/helpers/spec_helper.js
angularjs-rails-resource-2.2.2 test/unit/helpers/spec_helper.js
angularjs-rails-resource-2.2.0 test/unit/helpers/spec_helper.js
angularjs-rails-resource-2.1.0 test/unit/helpers/spec_helper.js
angularjs-rails-resource-2.0.0 test/unit/helpers/spec_helper.js
angularjs-rails-resource-1.2.3 test/unit/helpers/spec_helper.js
angularjs-rails-resource-1.2.2 test/unit/helpers/spec_helper.js
angularjs-rails-resource-1.2.1 test/unit/helpers/spec_helper.js
angularjs-rails-resource-1.2.0 test/unit/helpers/spec_helper.js
angularjs-rails-resource-1.1.1 test/unit/helpers/spec_helper.js
angularjs-rails-resource-1.0.2 test/unit/helpers/spec_helper.js
angularjs-rails-resource-1.0.1 test/unit/helpers/spec_helper.js
angularjs-rails-resource-1.0.0 test/unit/helpers/spec_helper.js
angularjs-rails-resource-1.0.0.pre.4 test/unit/helpers/spec_helper.js
angularjs-rails-resource-1.0.0.pre.3 test/unit/helpers/spec_helper.js
angularjs-rails-resource-1.0.0.pre.2 test/unit/helpers/spec_helper.js
angularjs-rails-resource-0.2.5 test/unit/helpers/spec_helper.js
angularjs-rails-resource-0.2.4 test/unit/helpers/spec_helper.js
angularjs-rails-resource-1.0.0.pre.1 test/unit/helpers/spec_helper.js