Last active
December 22, 2015 22:39
-
-
Save bitpshr/6541977 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
define([ | |
'intern!object', | |
'intern/chai!assert', | |
'require' | |
], function (registerSuite, assert, require) { | |
var request, | |
url = 'http://localhost/Projects/intern-examples/dojo-example'; | |
registerSuite({ | |
name: 'Todo (functional)', | |
'submit form': function () { | |
return this.remote | |
.get(require.toUrl(url)).then(function () { | |
console.log('page loaded'); | |
}) | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment