Skip to content

Instantly share code, notes, and snippets.

@jardix22
Created February 13, 2015 15:23
Show Gist options
  • Save jardix22/43b125977c284a063680 to your computer and use it in GitHub Desktop.
Save jardix22/43b125977c284a063680 to your computer and use it in GitHub Desktop.
var ElHelper = require('../helpers.js'),
path = require('path'),
project = {
name: 'Sample Website',
domain: 'http://localhost:3010',
picture: path.resolve(__dirname, '../../files/logo.png')
};
var userInfo = ElHelper.user.getSample('tester');
var organizationInfo = ElHelper.organization.getSample();
describe('Local', function() {
it('should create user account', function() {
// Create account user
ElHelper.user.createAccount(userInfo);
});
it('should create organization and go', function() {
// Create organization
ElHelper.organization.create(organizationInfo);
ElHelper.organization.go(organizationInfo);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment