This project is archived and is in readonly mode.
Stray backup file in Rails repo
-
Wincent Colaiuta
I see the file was added in this commit:
-
DHH
- State changed from new to committed
"Fixed problem causes by leftover backup templates ending in tilde [state:committed #969 Backup copies of email template ending in tilde cause error]" -- that's what the test is there for.
-
Wincent Colaiuta
- Tag set to patch
Ok, I see what's happening now. The answer lies in "test_implicitly_multipart_messages" in actionmailer/test/mail_service_test.rb.
Part of the problem is that there are three files that are in there which should be ignored. The first two:
- implicitly_multipart_example.ignored.erb
- implicitly_multipart_example.rhtml.bak
Both contain the text "Ignored when searching for implicitly multipart parts."
The third one, the one which confused me:
- implicitly_multipart_example.text.html.erb~
Doesn't contain that explanatory text. In fact, it contains the exact same contents as:
- implicitly_multipart_example.text.html.erb
So perhaps we could change it to be like the others?
