Skip to content

Commit

Permalink
[ci] Use a separate package factory for trigger_service tests.
Browse files Browse the repository at this point in the history
Some of our tests rely on data stored in the backend. Since factory girl
doesn't provide an 'after destroy' hook, we either have to manually clean
this up, or use separate object for tests that rely on backend data.

Given that only a few tests seem to rely on backend data we go for the
latter.

This was found after deleting extisting VCR cassettes and re-running the
tests.
  • Loading branch information
bgeuken committed Apr 27, 2017
1 parent 49cffe3 commit e4221f6
Show file tree
Hide file tree
Showing 10 changed files with 853 additions and 609 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e4221f6

Please sign in to comment.