Skip to content

Commit

Permalink
force to use :ja locale
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed Jun 14, 2024
1 parent d2f3792 commit 33ed046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/system/comment_sort_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
comment = create(:comment, commentable:, body: "Most Rated Comment")
create(:comment_vote, comment:, author: user, weight: 1)

visit decidim.root_path
visit decidim.root_path(locale: :ja)
end

it "allows user to store selected comment order in cookies", :slow do
# click_button "同意します"
visit resource_path

expect(page).to have_no_content("Comments are disabled at this time")
expect(page).to have_no_content("コメントは現時点で無効になっていますが")

expect(page).to have_css(".comment", minimum: 1)

Expand Down

0 comments on commit 33ed046

Please sign in to comment.