mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-18 23:56:03 +01:00
Remove unnecessary .dup
This commit is contained in:
parent
c84b6a61bd
commit
60c7c86b05
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue