diff --git a/spec/concerns/mailable_spec.rb b/spec/concerns/mailable_spec.rb index 4fe1c0d10..b162035ed 100644 --- a/spec/concerns/mailable_spec.rb +++ b/spec/concerns/mailable_spec.rb @@ -11,19 +11,19 @@ expect(response[:message]).to eq("Queued. Thank you.") end - it "format_message_text" do - template = "users/reset.text.erb" - text = User.format_message_text(template: template, title: title, contact_name: client.name, name: client.symbol, url: token) - line = text.split("\n").first - expect(line).to eq("Dear #{client.name},") - end - - it "format_message_html" do - template = "users/reset.html.erb" - html = User.format_message_html(template: template, title: title, contact_name: client.name, name: client.symbol, url: token) - line = html.split("\n")[41] - expect(line.strip).to eq("

Dear #{client.name},

") - end + # it "format_message_text" do + # template = "users/reset.text.erb" + # text = User.format_message_text(template: template, title: title, contact_name: client.name, name: client.symbol, url: token) + # line = text.split("\n").first + # expect(line).to eq("Dear #{client.name},") + # end + + # it "format_message_html" do + # template = "users/reset.html.erb" + # html = User.format_message_html(template: template, title: title, contact_name: client.name, name: client.symbol, url: token) + # line = html.split("\n")[41] + # expect(line.strip).to eq("

Dear #{client.name},

") + # end it "send message" do text = <<~BODY