Remove unnecessary `.dup`
This commit is contained in:
parent
c84b6a61bd
commit
60c7c86b05
|
@ -26,7 +26,7 @@ describe MarkdownHelper, type: :helper do
|
||||||
|
|
||||||
describe "#strip_markdown" do
|
describe "#strip_markdown" do
|
||||||
it "should not return formatted text" 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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue