A platform for community discussion. Free, open, simple.
DEV: Make the shared spec check plugin name, not path (#38445)
Jarek Radosz2b3cea00d350
diff --git a/spec/support/shared_examples/core_features.rb b/spec/support/shared_examples/core_features.rbindex 5ecc639f18a..e0a06ba7cab 100644--- a/spec/support/shared_examples/core_features.rb+++ b/spec/support/shared_examples/core_features.rb@@ -233,9 +233,9 @@ RSpec.shared_examples_for "having working core features" do |skip_examples: []|enabled_plugins.each do |plugin|if plugin.js_asset_exists?- expect(plugin_script_tags).to include(plugin.directory_name)+ expect(plugin_script_tags).to include(plugin.name)else- expect(plugin_script_tags).not_to include(plugin.directory_name)+ expect(plugin_script_tags).not_to include(plugin.name)endendend