decidim-results/spec/features/comments_spec.rb in decidim-0.4.3 vs decidim-results/spec/features/comments_spec.rb in decidim-0.4.4
- old
+ new
@@ -14,8 +14,8 @@
)
user
end
let!(:commentable) { create(:result, feature: feature) }
- let(:resource_path) { decidim_results.result_path(commentable, feature_id: feature, participatory_process_id: feature.participatory_process) }
+ let(:resource_path) { resource_locator(commentable).path }
include_examples "comments"
end