decidim-comments/spec/spec_helper.rb in decidim-0.2.0 vs decidim-comments/spec/spec_helper.rb in decidim-0.3.0
- old
+ new
@@ -1,5 +1,5 @@
# frozen_string_literal: true
-ENV["ENGINE_NAME"] = File.dirname(File.dirname(__FILE__)).split("/").last
+ENV["ENGINE_NAME"] = File.dirname(__dir__).split("/").last
require "decidim/dev/test/base_spec_helper"