File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
test/lib/code_corps/emails Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,11 @@ defmodule CodeCorps.Emails.ReceiptEmail do
5151 charge_amount: charge . amount |> format_amount ( ) ,
5252 charge_statement_descriptor: charge . statement_descriptor ,
5353 high_five_image_url: high_five_image_url ( ) ,
54+ name: BaseEmail . get_name ( charge . user ) ,
5455 project_current_donation_goal_description: current_donation_goal . description ,
5556 project_title: project . title ,
5657 project_url: project |> url ( ) ,
57- subject: project |> build_subject_line ( ) ,
58- name: BaseEmail . get_name ( charge . user )
58+ subject: project |> build_subject_line ( )
5959 }
6060 end
6161
Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ defmodule CodeCorps.Emails.ReceiptEmailTest do
4646 assert template_model == % {
4747 charge_amount: "$5.00" ,
4848 charge_statement_descriptor: "Test descriptor" ,
49+ name: "Jimmy" ,
4950 project_title: "Code Corps" ,
5051 project_url: "http://localhost:4200/#{ project . organization . slug } /#{ project . slug } " ,
5152 project_current_donation_goal_description: "Test goal" ,
52- subject: "Your monthly donation to Code Corps" ,
53- name: "Jimmy"
53+ subject: "Your monthly donation to Code Corps"
5454 }
5555 assert high_five_image_url
5656 end
You can’t perform that action at this time.
0 commit comments