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