Skip to content

Commit

Permalink
fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Aug 14, 2024
1 parent 33ffeea commit 0a5f328
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion decidim-comments/spec/forms/comment_form_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ module Comments
context "when user is moderator in another participatory space" do
let!(:moderator_role) { create(:participatory_process_user_role, user:, participatory_process:, role: :moderator) }

it_behaves_like "allows commenting"
it_behaves_like "does not allow commenting"
end

context "when user is moderator in another assembly" do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1090,6 +1090,7 @@
visit resource_path
expect(page).to have_content("Comments are currently disabled, only administrators can reply or post new ones.")
expect(page).to have_no_content("You need to be verified to comment at this moment")
expect(page).to have_no_css("textarea#add-comment-Proposal-1")
end
end

Expand Down

0 comments on commit 0a5f328

Please sign in to comment.