Permalink
Browse files

Updates

- require 'spec_helper'
- andra for and_return(args)
- add stub snippet (stu)
- fix switch command's file generation
  • Loading branch information...
1 parent b93a56c commit c01f02398209d5280444faf1c281f9c8ef81fee2 @dchelimsky committed Oct 5, 2009
Showing with 21 additions and 4 deletions.
  1. +2 −2 Snippets/Require spec_helper.tmSnippet
  2. +2 −2 Snippets/and_return_value.tmSnippet
  3. +16 −0 Snippets/stub.tmSnippet
  4. +1 −0 info.plist
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!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>require File.dirname(__FILE__) + '/../spec_helper'</string>
+ <string>require 'spec_helper'</string>
<key>name</key>
<string>Require spec_helper</string>
<key>scope</key>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!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>
@@ -9,7 +9,7 @@
<key>scope</key>
<string>source.ruby.rspec</string>
<key>tabTrigger</key>
- <string>anra</string>
+ <string>andra</string>
<key>uuid</key>
<string>804A1B15-0756-438F-892F-2B72BE4490F0</string>
</dict>
View
@@ -0,0 +1,16 @@
+<?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>${1:double}.stub(:${2:message})$3</string>
+ <key>name</key>
+ <string>stub</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>tabTrigger</key>
+ <string>stu</string>
+ <key>uuid</key>
+ <string>C4DD43A2-7E6A-4875-AF86-7EF7963BF83D</string>
+</dict>
+</plist>
View
@@ -269,6 +269,7 @@
<string>65B85B0D-26FC-4A08-8D6A-7BF00AA787FC</string>
<string>2CC293EE-496A-4B66-928C-332DDCBEE884</string>
<string>ED3A9BE5-8695-44FF-9B6B-A7FF4C13727C</string>
+ <string>C4DD43A2-7E6A-4875-AF86-7EF7963BF83D</string>
<string>DAD2B74D-2105-42B0-9FC5-466F3B3D0DB7</string>
<string>57374EB7-6CCE-4281-97A7-289905315351</string>
<string>9605BD4A-93E5-4D57-99FB-D8844D40F183</string>

0 comments on commit c01f023

Please sign in to comment.