Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve tests #106

Merged
merged 1 commit into from Nov 27, 2015
Merged

Improve tests #106

merged 1 commit into from Nov 27, 2015

Conversation

davidgoli
Copy link
Collaborator

This should considerably improve code climate, and also just makes the tests easier to understand and for other contributors to use.

test('it works', assert => {
var RouteObject = Ember.Route.extend(RouteMixin);
var route = RouteObject.create();
assert.ok(route);
});

function createRoute(modelName, routeProperties={}, extraParams={}, boundParams={}) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it always bugged me that these were out of sequence

hhff added a commit that referenced this pull request Nov 27, 2015
@hhff hhff merged commit 7c858fb into adopted-ember-addons:master Nov 27, 2015
@hhff
Copy link
Collaborator

hhff commented Nov 27, 2015

👍 kill'd it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants