[Fix #1801] rename and move html_formatted_description in a generic helper
This commit is contained in:
parent
0635b50d70
commit
152cf03d72
3 changed files with 10 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
RSpec.describe ChampHelper, type: :helper do
|
||||
describe "#html_formatted_description" do
|
||||
subject { html_formatted_description(description) }
|
||||
RSpec.describe StringToHtmlHelper, type: :helper do
|
||||
describe "#string_to_html" do
|
||||
subject { string_to_html(description) }
|
||||
|
||||
context "with some simple texte" do
|
||||
let(:description) { "1er ligne \n 2ieme ligne" }
|
Loading…
Add table
Add a link
Reference in a new issue