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

fix spaces vs tabs issue with dredd / delete todos after running tests #2

Merged
merged 4 commits into from
Oct 28, 2014

Conversation

stephenplusplus
Copy link
Member

Tabs were breaking the apib file (my bad!), so I switched it back to our original format.

In a new afterAll hook, I'm getting all todos and deleting the ones we created -- the differentiator is the title: "dredd".

@proppy is there a better way to do any of these changes?

@proppy
Copy link
Collaborator

proppy commented Oct 24, 2014

I think the current frontend expect 'completed' not 'done.

@stephenplusplus
Copy link
Member Author

😕 I don't know where I got done from, but now it's all over the place! I'll change back to completed.

todosToDelete.forEach(function (todo, index, todos) {
request.del(uri('/todos/' + todo.id), function (err) {
if (err) {
completeHook(err);
Copy link
Collaborator

Choose a reason for hiding this comment

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

will that interrupt the iteration?

@proppy
Copy link
Collaborator

proppy commented Oct 28, 2014

LGTM, merging.

proppy added a commit that referenced this pull request Oct 28, 2014
fix spaces vs tabs issue with dredd / delete todos after running tests
@proppy proppy merged commit 2f9e782 into master Oct 28, 2014
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