Created
January 29, 2018 14:47
-
-
Save milingo/395f0a8f062dd1c8aa5dc2710b4008d6 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
it('should save and find the followers', async () => { | |
tweet.setFollowers(42); | |
const newTweet = await saveAndFind(tweet); | |
expect(newTweet.getFollowers()).to.eql(tweet.getFollowers()); | |
}); | |
it('should save and find the friends', async () => { | |
tweet.setFriends(88); | |
const newTweet = await saveAndFind(tweet); | |
expect(newTweet.getFriends()).to.eql(tweet.getFriends()); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment