Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix assert_sent_email.

  • Loading branch information...
commit 18ce24cc94e188d6ef89d8f01707c629db87c7ab 1 parent 1655bf3
@carlosbrando carlosbrando authored
Showing with 19 additions and 1 deletion.
  1. +18 −0 Snippets/assert_sent_email 2.tmSnippet
  2. +1 −1  info.plist
View
18 Snippets/assert_sent_email 2.tmSnippet
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>assert_sent_email${1: do |email|
+ email.${2:subject|from|to|body} ${3:==} ${4:'${5:anything}'}$0
+end}</string>
+ <key>name</key>
+ <string>assert_sent_email</string>
+ <key>scope</key>
+ <string>source.ruby.rails.shoulda</string>
+ <key>tabTrigger</key>
+ <string>assemail</string>
+ <key>uuid</key>
+ <string>36AB5D03-388A-4E5E-A43D-046356C65A67</string>
+</dict>
+</plist>
View
2  info.plist
@@ -155,8 +155,8 @@
<string>C752E6BD-19C6-4BC5-A4E3-A3B266CF6B68</string>
<string>F0EFD353-3EE5-45B9-A48B-EF6186977D19</string>
<string>4268D9B3-8505-4CD2-8FF3-2AF4121C8CA6</string>
- <string>04221A6B-85F6-4ADB-A17A-A63F324439BB</string>
<string>52607A32-8E8A-4A8F-9B8D-C370206E2B10</string>
+ <string>36AB5D03-388A-4E5E-A43D-046356C65A67</string>
</array>
<key>uuid</key>
<string>8EDBE2CA-575A-42BC-9F36-BD4C99B4DE56</string>
Please sign in to comment.
Something went wrong with that request. Please try again.