Created
June 8, 2016 01:18
-
-
Save 1dolinski/a9ae3d37065d8f52c074e72a78ec8688 to your computer and use it in GitHub Desktop.
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
| firebase.database().ref(childRef).set(SetObject, onComplete); | |
| // first attempt?! | |
| spyOn(firebase, 'database().ref().set()', function(params) { | |
| return { | |
| then: function(callback) { | |
| return callback("SET_SUCCESS"); | |
| } | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment