Created
December 30, 2018 19:52
-
-
Save goldbergyoni/80b87810a898429580b3054e8601ec76 to your computer and use it in GitHub Desktop.
A simple assertion
This file contains hidden or 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
| it("When asking for an admin, ensure only ordered admins in results" , ()={ | |
| //assuming we've added here two admins | |
| const allAdmins = getUsers({adminOnly:true}); | |
| expect(allAdmins).to.include.ordered.members(["admin1" , "admin2"]) | |
| .but.not.include.ordered.members(["user1"]); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment