lib/decidim/dev/test/rspec_support/feature.rb in decidim-dev-0.3.2 vs lib/decidim/dev/test/rspec_support/feature.rb in decidim-dev-0.4.0
- old
+ new
@@ -33,9 +33,17 @@
feature_manifest_name "dummy"
def reported_content_url
ResourceLocatorPresenter.new(self).url
end
+
+ def notifiable?(_context)
+ true
+ end
+
+ def users_to_notify
+ [author]
+ end
end
class DummyResourcesController < ActionController::Base
helper Decidim::Comments::CommentsHelper
skip_authorization_check