Skip to content

Instantly share code, notes, and snippets.

@bitpshr
Last active December 22, 2015 22:39
Show Gist options
  • Save bitpshr/6541977 to your computer and use it in GitHub Desktop.
Save bitpshr/6541977 to your computer and use it in GitHub Desktop.
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