Created
June 21, 2014 16:14
-
-
Save NickTomlin/40b23e5f2f991909bbad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe("jasmine.objectContaining", function() { | |
var filters = { | |
available: [ | |
{name: "foo"}, | |
{name: "majors"} | |
] | |
}; | |
it("matches objects with the expect key/value pairs", function() { | |
expect(filters.available).not.toEqual(jasmine.objectContaining({ | |
name: "majors" | |
})); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment