Remove unnecessary `.dup`

This commit is contained in:
Andreas Nedbal 2022-01-16 22:23:13 +01:00 committed by Andreas Nedbal
parent c84b6a61bd
commit 60c7c86b05
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ describe MarkdownHelper, type: :helper do
describe "#strip_markdown" do
it "should not return formatted text" do
expect(strip_markdown("**Strong text**".dup)).to eq("Strong text")
expect(strip_markdown("**Strong text**")).to eq("Strong text")
end
end