Fix error in displaying JStree and revert new default for FactoryBot
This commit is contained in:
@ -29,3 +29,7 @@ $.fn.replaceWithPush = function(a) {
|
|||||||
this.replaceWith($a);
|
this.replaceWith($a);
|
||||||
return $a;
|
return $a;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Disable the use of web workers for JStree due to JS error
|
||||||
|
// See https://github.com/vakata/jstree/issues/1717 for details
|
||||||
|
$.jstree.defaults.core.worker = false;
|
||||||
|
4
spec/support/factory_bot.rb
Normal file
4
spec/support/factory_bot.rb
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
require 'factory_bot'
|
||||||
|
|
||||||
|
# Use "old" FactoryBot default to allow auto-creating associations for #build
|
||||||
|
FactoryBot.use_parent_strategy = false
|
Reference in New Issue
Block a user