JohanObrink / mongoose-mock

MIT License
34 stars 23 forks source link

Improve connection-related mocks #7

Open tutukin opened 9 years ago

tutukin commented 9 years ago

Fix: mongooseMock.connect should be a stub (not a stub factory) Add: mongooseMock.connection to mock the default mongoose connection

dario1985 commented 8 years ago

+1 @tutukin Needed this to be able to mock some connection-related stuff in my repositories

@JohanObrink Can you review and merge this in?