decidim-budgets/spec/spec_helper.rb in decidim-0.3.2 vs decidim-budgets/spec/spec_helper.rb in decidim-0.4.0
- old
+ new
@@ -1,5 +1,9 @@
# frozen_string_literal: true
+require "decidim/dev"
+
ENV["ENGINE_NAME"] = File.dirname(__dir__).split("/").last
+
+Decidim::Dev.dummy_app_path = File.expand_path(File.join("..", "spec", "decidim_dummy_app"))
require "decidim/dev/test/base_spec_helper"