-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* MiniTest -> Minitest * use force: :cascade so tables can be recreated regardless of constraints * require tag_examples module where it's used Otherwise it's specs would be loaded / run out of context leading to many errors like this: 1) Error: TagExamples::from empty db::lowest_common_ancestor#test_0009_is itself for single item: NameError: uninitialized class variable @@described_class in TagExamples Did you mean? describe /closure_tree/test/support/tag_examples.rb:10:in `block (2 levels) in <module:TagExamples>' when trying to run a single test, i.e. bundle exec rake test TESTOPTS="--seed=10410" TEST=test/closure_tree/parallel_test.rb * revert to :truncation DatabaseCleaner strategy - same as specs, fixes parallel_test
- Loading branch information
Showing
4 changed files
with
27 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters