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

Data & fixture migration cleanup #6639

Merged
merged 1 commit into from
Mar 25, 2016
Merged

Conversation

ErisDS
Copy link
Member

@ErisDS ErisDS commented Mar 24, 2016

This removes some unnecessary code, improves quality of some of the tests, gets the coverage back to 100% and trims down the amount of code in the tests. There's also a change to the jQuery fixture update to make it consistent with the other settings fixture updates.

It's basically an odd collection of stuff I noticed whilst working on 005 migrations.

refs #6621, #6622

  • remove unneeded return new Promise.resolve() lines
  • reduce code in tests
  • improve quality of tests checking that all task functions are executed
  • add missing test coverage

refs TryGhost#6621, TryGhost#6622

- remove unneeded `return new Promise.resolve()` lines
- reduce code in tests
- improve quality of tests checking that all task functions are executed
- add missing test coverage
@sebgie sebgie merged commit 31e68ac into TryGhost:master Mar 25, 2016
@ErisDS ErisDS deleted the fixture-cleanup branch May 22, 2016 12:34
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