Class: Decidim::DummyResource
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Decidim::DummyResource
- Includes:
- Authorable, Comments::Commentable, HasCategory, HasFeature, HasScope, Reportable, Resourceable
- Defined in:
- decidim-dev/lib/decidim/dev/test/rspec_support/feature.rb
Instance Method Summary collapse
Instance Method Details
#notifiable?(_context) ⇒ Boolean
40 41 42 |
# File 'decidim-dev/lib/decidim/dev/test/rspec_support/feature.rb', line 40 def notifiable?(_context) true end |
#reported_content_url ⇒ Object
36 37 38 |
# File 'decidim-dev/lib/decidim/dev/test/rspec_support/feature.rb', line 36 def reported_content_url ResourceLocatorPresenter.new(self).url end |
#users_to_notify ⇒ Object
44 45 46 |
# File 'decidim-dev/lib/decidim/dev/test/rspec_support/feature.rb', line 44 def users_to_notify [] end |