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

Make sure .setup() runs on dynamic services. #110

Merged
merged 1 commit into from
Feb 13, 2015
Merged

Conversation

marshallswain
Copy link
Member

Setup() wasn't being run on dynamic services. I've included a fix and updated one of the tests to make sure setup runs.

Oh, I also moved stripSlashes(location) to the top of app.service() and replaced all duplicate instances of it with location.

@marshallswain
Copy link
Member Author

@daffl Does this look ready to merge?

socket.on('tasks removed', function (data) {
service.removed = oldRemoved;
assert.equal(data.id, 23);
done();
console.log('Ready: ' + ready);
Copy link
Member

Choose a reason for hiding this comment

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

console.log

@daffl
Copy link
Member

daffl commented Feb 13, 2015

Yes, after you remove the console.log and please squash the commits into one (http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html - but I can to that, too before merging).

@marshallswain
Copy link
Member Author

Wow. squash is new for me. That was a beautiful experience.

marshallswain added a commit that referenced this pull request Feb 13, 2015
Make sure .setup() runs on dynamic services.
@marshallswain marshallswain merged commit efeab46 into master Feb 13, 2015
@marshallswain marshallswain deleted the fix-setup branch February 13, 2015 16:35
daffl added a commit that referenced this pull request Aug 25, 2018
Fix generated app tests for latest packages
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