Permalink
Browse files

got rid of the test/unit output in TextMate

git-svn-id: svn+ssh://rubyforge.org/var/svn/rspec/trunk@2800 410327ef-2207-0410-a325-f78bbcb22a5a
  • Loading branch information...
0 parents commit 8c27e7844eebaf172e46de0d892be7e174ca86af dchelimsky committed Oct 31, 2007
Showing 689 changed files with 42,572 additions and 0 deletions.
@@ -0,0 +1 @@
+See rspec/README.
@@ -0,0 +1,25 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>command</key>
+ <string>#!/usr/bin/env ruby
+
+require ENV['TM_BUNDLE_SUPPORT'] + "/lib/spec/mate/switch_command"
+Spec::Mate::SwitchCommand.new.go_to_twin(ENV['TM_PROJECT_DIRECTORY'], ENV['TM_FILEPATH'])</string>
+ <key>input</key>
+ <string>none</string>
+ <key>keyEquivalent</key>
+ <string>^$</string>
+ <key>name</key>
+ <string>Alternate File</string>
+ <key>output</key>
+ <string>showAsTooltip</string>
+ <key>scope</key>
+ <string>source.ruby, text.html.ruby</string>
+ <key>uuid</key>
+ <string>0C96C910-0A83-4AFE-AEF7-1F4882A00232</string>
+</dict>
+</plist>
@@ -0,0 +1,28 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>saveActiveFile</string>
+ <key>command</key>
+ <string>#!/usr/bin/env ruby
+
+require ENV['TM_BUNDLE_SUPPORT'] + "/lib/spec/mate"
+Spec::Mate::Runner.new.run_focussed STDOUT
+</string>
+ <key>fallbackInput</key>
+ <string>line</string>
+ <key>input</key>
+ <string>document</string>
+ <key>keyEquivalent</key>
+ <string>@R</string>
+ <key>name</key>
+ <string>Run Focused Example</string>
+ <key>output</key>
+ <string>showAsHTML</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>uuid</key>
+ <string>240FDD9D-CD49-4917-9003-80A3E1DADFBA</string>
+</dict>
+</plist>
@@ -0,0 +1,27 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>saveActiveFile</string>
+ <key>command</key>
+ <string>#!/usr/bin/env ruby
+
+require ENV['TM_BUNDLE_SUPPORT'] + "/lib/spec/mate"
+Spec::Mate::Runner.new.run_file STDOUT</string>
+ <key>fallbackInput</key>
+ <string>document</string>
+ <key>input</key>
+ <string>document</string>
+ <key>keyEquivalent</key>
+ <string>@r</string>
+ <key>name</key>
+ <string>Run Behaviour Description</string>
+ <key>output</key>
+ <string>showAsHTML</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>uuid</key>
+ <string>B5906021-8E54-4863-A13B-EA46333DB5F1</string>
+</dict>
+</plist>
@@ -0,0 +1,26 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>saveModifiedFiles</string>
+ <key>command</key>
+ <string>#!/usr/bin/env ruby
+
+require ENV['TM_BUNDLE_SUPPORT'] + "/lib/spec/mate"
+Spec::Mate::Runner.new.run_files STDOUT
+</string>
+ <key>input</key>
+ <string>none</string>
+ <key>keyEquivalent</key>
+ <string>~@r</string>
+ <key>name</key>
+ <string>Run Behaviour Descriptions in selected files/directories</string>
+ <key>output</key>
+ <string>showAsHTML</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>uuid</key>
+ <string>67E726E0-63E2-4840-B8BB-37F665CD34B8</string>
+</dict>
+</plist>
@@ -0,0 +1,19 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Symbol List: Behaviour</string>
+ <key>scope</key>
+ <string>meta.rspec.behaviour</string>
+ <key>settings</key>
+ <dict>
+ <key>showInSymbolList</key>
+ <integer>1</integer>
+ <key>symbolTransformation</key>
+ <string>s/^\s*(describe)\s+(.+)\s+do\s*$/$2/</string>
+ </dict>
+ <key>uuid</key>
+ <string>28F89786-04F4-43D7-82A6-34B046C2BC6B</string>
+</dict>
+</plist>
@@ -0,0 +1,19 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Symbol List: Example</string>
+ <key>scope</key>
+ <string>meta.rspec.example</string>
+ <key>settings</key>
+ <dict>
+ <key>showInSymbolList</key>
+ <integer>1</integer>
+ <key>symbolTransformation</key>
+ <string>s/^\s*(it)\s+(.+)\s+do\s*$/ $2/</string>
+ </dict>
+ <key>uuid</key>
+ <string>57EF6130-05A6-4117-94CB-C0BD63328334</string>
+</dict>
+</plist>
@@ -0,0 +1,2 @@
+Parts of RSpec.tmbundle is based on Florian Weber's TDDMate.
+The license of RSpec.tmbundle is the same as RSpec's.
@@ -0,0 +1,39 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>class ${1:ReverseTo}
+ def initialize($3)
+ @$3 = $3
+ end
+
+ def matches?(actual)
+ @actual = actual
+ # Satisfy expectation here. Return false or raise an error if it's not met.
+ ${0:@actual.reverse.should == @$3}
+ true
+ end
+
+ def failure_message
+ "expected #{@actual.inspect} to $2 #{@$3.inspect}, but it didn't"
+ end
+
+ def negative_failure_message
+ "expected #{@actual.inspect} not to $2 #{@$3.inspect}, but it did"
+ end
+end
+
+def ${2:reverse_to}(${3:expected})
+ $1.new($3)
+end</string>
+ <key>name</key>
+ <string>Custom Matcher</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>tabTrigger</key>
+ <string>mat</string>
+ <key>uuid</key>
+ <string>55BF6C99-B4C4-4772-B7DC-0A18407E429C</string>
+</dict>
+</plist>
@@ -0,0 +1,20 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>describe "${1:description}" do
+ it "should ${2:description}" do
+ $0
+ end
+end</string>
+ <key>name</key>
+ <string>describe (String)</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>tabTrigger</key>
+ <string>des</string>
+ <key>uuid</key>
+ <string>34CBBD13-CE8E-4601-9968-C2CB0D771CA5</string>
+</dict>
+</plist>
@@ -0,0 +1,20 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>describe ${1:Type} do
+ it "should ${2:description}" do
+ $0
+ end
+end</string>
+ <key>name</key>
+ <string>describe (type)</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>tabTrigger</key>
+ <string>dest</string>
+ <key>uuid</key>
+ <string>2ED94046-DAF7-4C91-8D98-771513BB3804</string>
+</dict>
+</plist>
@@ -0,0 +1,20 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>describe ${1:Type}, "${2:description}" do
+ it "should ${3:description}" do
+ $0
+ end
+end</string>
+ <key>name</key>
+ <string>describe (type, string)</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>tabTrigger</key>
+ <string>dests</string>
+ <key>uuid</key>
+ <string>ACFE21E0-902B-45C4-BF54-D137718FF61C</string>
+</dict>
+</plist>
@@ -0,0 +1,18 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>it "${2:should ${1:description}}" ${3:do
+ $0
+end}</string>
+ <key>name</key>
+ <string>it</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>tabTrigger</key>
+ <string>it</string>
+ <key>uuid</key>
+ <string>AD51AA2B-09C9-40DE-9720-2FD43C967FA9</string>
+</dict>
+</plist>
@@ -0,0 +1,16 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>require File.dirname(__FILE__) + '/../spec_helper'</string>
+ <key>name</key>
+ <string>Require spec_helper</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>tabTrigger</key>
+ <string>resh</string>
+ <key>uuid</key>
+ <string>DAD2B74D-2105-42B0-9FC5-466F3B3D0DB7</string>
+</dict>
+</plist>
@@ -0,0 +1,16 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>controller_name :${1:controller}</string>
+ <key>name</key>
+ <string>controller_name</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>tabTrigger</key>
+ <string>conn</string>
+ <key>uuid</key>
+ <string>57374EB7-6CCE-4281-97A7-289905315351</string>
+</dict>
+</plist>
@@ -0,0 +1,21 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>Story "${1:title}", %{
+ As a${2:role}
+ I want ${3:feature}
+ So that ${4:value}
+} do
+end</string>
+ <key>name</key>
+ <string>Story</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>tabTrigger</key>
+ <string>st</string>
+ <key>uuid</key>
+ <string>73A67D49-CA5B-4B8A-9B62-003506276CDD</string>
+</dict>
+</plist>
@@ -0,0 +1,16 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>and_raise(${1:exception})</string>
+ <key>name</key>
+ <string>and_raise</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>tabTrigger</key>
+ <string>anr</string>
+ <key>uuid</key>
+ <string>65B85B0D-26FC-4A08-8D6A-7BF00AA787FC</string>
+</dict>
+</plist>
@@ -0,0 +1,16 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>and_return { $1 }</string>
+ <key>name</key>
+ <string>and_return with block</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>tabTrigger</key>
+ <string>anrb</string>
+ <key>uuid</key>
+ <string>C57E9EFD-3FE7-40ED-832E-DD812D1FB769</string>
+</dict>
+</plist>
@@ -0,0 +1,16 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>and_return(${1:value})</string>
+ <key>name</key>
+ <string>and_return with args</string>
+ <key>scope</key>
+ <string>source.ruby.rspec</string>
+ <key>tabTrigger</key>
+ <string>anra</string>
+ <key>uuid</key>
+ <string>804A1B15-0756-438F-892F-2B72BE4490F0</string>
+</dict>
+</plist>
Oops, something went wrong.

0 comments on commit 8c27e78

Please sign in to comment.