From 0740b447c8ea872111fdb91ffb48d9f94cd8da46 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Tue, 30 Apr 2024 20:34:39 +0200 Subject: [PATCH] Fix typo in spec context Found with `codespell` The typo was there before #2601, but according to #2601 the intent is to test `/posts/1` and not `comments` anymore --- spec/helpers/breadcrumb_helper_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/helpers/breadcrumb_helper_spec.rb b/spec/helpers/breadcrumb_helper_spec.rb index ab8281ae9530..13c05201ac78 100644 --- a/spec/helpers/breadcrumb_helper_spec.rb +++ b/spec/helpers/breadcrumb_helper_spec.rb @@ -188,7 +188,7 @@ end end - context "when path '/admin/users/1/coments/1'" do + context "when path '/admin/users/1/posts/1'" do let(:path) { "/admin/users/1/posts/1" } it "should have 4 items" do @@ -216,7 +216,7 @@ end end - context "when path '/admin/users/1/coments/1/edit'" do + context "when path '/admin/users/1/posts/1/edit'" do let(:path) { "/admin/users/1/posts/1/edit" } it "should have 5 items" do