public
Description: Ruby on Rails TextMate bundle [Learn it with PeepCode - http://peepcode.com/products/textmate-for-rails-2]
Homepage: http://groups.google.com/group/rubyonrails-textmate
Clone URL: git://github.com/drnic/ruby-on-rails-tmbundle.git
Click here to lend your support to: ruby-on-rails-tmbundle and make a donation at www.pledgie.com !
ruby-on-rails-tmbundle / Snippets / assert_redirected_to (nested path).tmSnippet
100644 17 lines (16 sloc) 0.565 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?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_redirected_to ${2:${12:parent}_${13:child}_path(${14:@}${15:${12}}, ${16:@}${17:${13}})}</string>
  <key>name</key>
  <string>assert_redirected_to (nested path)</string>
  <key>scope</key>
  <string>source.ruby.rails</string>
  <key>tabTrigger</key>
  <string>artnp</string>
  <key>uuid</key>
  <string>97021C0D-EB65-4046-B688-01F09B3B1615</string>
</dict>
</plist>