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
51
51
charge_amount: charge . amount |> format_amount ( ) ,
52
52
charge_statement_descriptor: charge . statement_descriptor ,
53
53
high_five_image_url: high_five_image_url ( ) ,
54
+ name: BaseEmail . get_name ( charge . user ) ,
54
55
project_current_donation_goal_description: current_donation_goal . description ,
55
56
project_title: project . title ,
56
57
project_url: project |> url ( ) ,
57
- subject: project |> build_subject_line ( ) ,
58
- name: BaseEmail . get_name ( charge . user )
58
+ subject: project |> build_subject_line ( )
59
59
}
60
60
end
61
61
Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ defmodule CodeCorps.Emails.ReceiptEmailTest do
46
46
assert template_model == % {
47
47
charge_amount: "$5.00" ,
48
48
charge_statement_descriptor: "Test descriptor" ,
49
+ name: "Jimmy" ,
49
50
project_title: "Code Corps" ,
50
51
project_url: "http://localhost:4200/#{ project . organization . slug } /#{ project . slug } " ,
51
52
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"
54
54
}
55
55
assert high_five_image_url
56
56
end
You can’t perform that action at this time.
0 commit comments