Permalink
Browse files

remove everything but rspec (core) from main rspec repo

  • Loading branch information...
1 parent 39bcb97 commit 4cff475930de506333987bd1d323758a212cbca1 @dchelimsky committed Apr 3, 2008
Showing with 323 additions and 21,203 deletions.
  1. 0 {rspec → }/.autotest
  2. 0 {rspec → }/CHANGES
  3. 0 {rspec → }/MIT-LICENSE
  4. +71 −1 README
  5. +0 −25 RSpec.tmbundle/Commands/Alternate File.tmCommand
  6. +0 −28 RSpec.tmbundle/Commands/Run Focussed Specification.tmCommand
  7. +0 −27 RSpec.tmbundle/Commands/Run Specifications - Normal.tmCommand
  8. +0 −26 RSpec.tmbundle/Commands/Run Specifications in selected files or directories.tmCommand
  9. +0 −19 RSpec.tmbundle/Preferences/SymbolList-Behaviour.tmPreferences
  10. +0 −19 RSpec.tmbundle/Preferences/SymbolList-Example.tmPreferences
  11. +0 −2 RSpec.tmbundle/README
  12. +0 −39 RSpec.tmbundle/Snippets/Custom Matcher.tmSnippet
  13. +0 −20 RSpec.tmbundle/Snippets/Describe.tmSnippet
  14. +0 −20 RSpec.tmbundle/Snippets/Describe_type.tmSnippet
  15. +0 −20 RSpec.tmbundle/Snippets/Describe_type_string.tmSnippet
  16. +0 −18 RSpec.tmbundle/Snippets/It.tmSnippet
  17. +0 −16 RSpec.tmbundle/Snippets/Require spec_helper.tmSnippet
  18. +0 −20 RSpec.tmbundle/Snippets/Scenario.tmSnippet
  19. +0 −16 RSpec.tmbundle/Snippets/Set Controller for Spec.tmSnippet
  20. +0 −21 RSpec.tmbundle/Snippets/Story.tmSnippet
  21. +0 −16 RSpec.tmbundle/Snippets/and_raise.tmSnippet
  22. +0 −16 RSpec.tmbundle/Snippets/and_return_block.tmSnippet
  23. +0 −16 RSpec.tmbundle/Snippets/and_return_value.tmSnippet
  24. +0 −16 RSpec.tmbundle/Snippets/and_throw.tmSnippet
  25. +0 −16 RSpec.tmbundle/Snippets/and_yield.tmSnippet
  26. +0 −16 RSpec.tmbundle/Snippets/any_number_of_times.tmSnippet
  27. +0 −16 RSpec.tmbundle/Snippets/at_least.tmSnippet
  28. +0 −16 RSpec.tmbundle/Snippets/at_most.tmSnippet
  29. +0 −20 RSpec.tmbundle/Snippets/controller_context.tmSnippet
  30. +0 −18 RSpec.tmbundle/Snippets/controller_context_RESTful.tmSnippet
  31. +0 −16 RSpec.tmbundle/Snippets/exactly.tmSnippet
  32. +0 −17 RSpec.tmbundle/Snippets/mock.tmSnippet
  33. +0 −18 RSpec.tmbundle/Snippets/mock_with.tmSnippet
  34. +0 −16 RSpec.tmbundle/Snippets/once.tmSnippet
  35. +0 −17 RSpec.tmbundle/Snippets/response_should_be_success.tmSnippet
  36. +0 −17 RSpec.tmbundle/Snippets/response_should_not_be_success.tmSnippet
  37. +0 −18 RSpec.tmbundle/Snippets/setup.tmSnippet
  38. +0 −17 RSpec.tmbundle/Snippets/should ==.tmSnippet
  39. +0 −17 RSpec.tmbundle/Snippets/should =~.tmSnippet
  40. +0 −17 RSpec.tmbundle/Snippets/should eql.tmSnippet
  41. +0 −17 RSpec.tmbundle/Snippets/should_be.tmSnippet
  42. +0 −17 RSpec.tmbundle/Snippets/should_be_a_kind_of.tmSnippet
  43. +0 −17 RSpec.tmbundle/Snippets/should_be_an_instance_of.tmSnippet
  44. +0 −17 RSpec.tmbundle/Snippets/should_be_close.tmSnippet
  45. +0 −17 RSpec.tmbundle/Snippets/should_be_redirect.tmSnippet
  46. +0 −17 RSpec.tmbundle/Snippets/should_equal.tmSnippet
  47. +0 −17 RSpec.tmbundle/Snippets/should_have.tmSnippet
  48. +0 −17 RSpec.tmbundle/Snippets/should_have_at_least.tmSnippet
  49. +0 −17 RSpec.tmbundle/Snippets/should_have_at_most.tmSnippet
  50. +0 −17 RSpec.tmbundle/Snippets/should_have_records.tmSnippet
  51. +0 −17 RSpec.tmbundle/Snippets/should_match.tmSnippet
  52. +0 −17 RSpec.tmbundle/Snippets/should_not ==.tmSnippet
  53. +0 −17 RSpec.tmbundle/Snippets/should_not =~.tmSnippet
  54. +0 −17 RSpec.tmbundle/Snippets/should_not eql.tmSnippet
  55. +0 −17 RSpec.tmbundle/Snippets/should_not_be.tmSnippet
  56. +0 −17 RSpec.tmbundle/Snippets/should_not_be_a_kind_of.tmSnippet
  57. +0 −17 RSpec.tmbundle/Snippets/should_not_be_an_instance_of.tmSnippet
  58. +0 −17 RSpec.tmbundle/Snippets/should_not_be_close.tmSnippet
  59. +0 −17 RSpec.tmbundle/Snippets/should_not_be_redirect.tmSnippet
  60. +0 −17 RSpec.tmbundle/Snippets/should_not_equal.tmSnippet
  61. +0 −17 RSpec.tmbundle/Snippets/should_not_match.tmSnippet
  62. +0 −17 RSpec.tmbundle/Snippets/should_not_predicate.tmSnippet
  63. +0 −17 RSpec.tmbundle/Snippets/should_not_raise.tmSnippet
  64. +0 −18 RSpec.tmbundle/Snippets/should_not_receive.tmSnippet
  65. +0 −17 RSpec.tmbundle/Snippets/should_not_respond_to.tmSnippet
  66. +0 −17 RSpec.tmbundle/Snippets/should_not_satisfy.tmSnippet
  67. +0 −17 RSpec.tmbundle/Snippets/should_not_throw.tmSnippet
  68. +0 −17 RSpec.tmbundle/Snippets/should_predicate.tmSnippet
  69. +0 −17 RSpec.tmbundle/Snippets/should_raise.tmSnippet
  70. +0 −18 RSpec.tmbundle/Snippets/should_receive.tmSnippet
  71. +0 −18 RSpec.tmbundle/Snippets/should_receive_with_args.tmSnippet
  72. +0 −17 RSpec.tmbundle/Snippets/should_redirect_to.tmSnippet
  73. +0 −17 RSpec.tmbundle/Snippets/should_render.tmSnippet
  74. +0 −17 RSpec.tmbundle/Snippets/should_respond_to.tmSnippet
  75. +0 −17 RSpec.tmbundle/Snippets/should_satisfy.tmSnippet
  76. +0 −17 RSpec.tmbundle/Snippets/should_throw.tmSnippet
  77. +0 −18 RSpec.tmbundle/Snippets/teardown.tmSnippet
  78. +0 −16 RSpec.tmbundle/Snippets/twice.tmSnippet
  79. +0 −10 RSpec.tmbundle/Support/Rakefile
  80. +0 −9 RSpec.tmbundle/Support/fixtures/example_failing_spec.rb
  81. +0 −9 RSpec.tmbundle/Support/fixtures/example_passing_spec.rb
  82. +0 −19 RSpec.tmbundle/Support/lib/spec/mate.rb
  83. +0 −46 RSpec.tmbundle/Support/lib/spec/mate/runner.rb
  84. +0 −129 RSpec.tmbundle/Support/lib/spec/mate/switch_command.rb
  85. +0 −3 RSpec.tmbundle/Support/lib/spec/mate/text_mate_formatter.rb
  86. +0 −103 RSpec.tmbundle/Support/spec/spec/mate/runner_spec.rb
  87. +0 −183 RSpec.tmbundle/Support/spec/spec/mate/switch_command_spec.rb
  88. +0 −15 RSpec.tmbundle/Support/spec/spec_helper.rb
  89. +0 −142 RSpec.tmbundle/Syntaxes/RSpec.tmLanguage
  90. +0 −289 RSpec.tmbundle/info.plist
  91. +252 −34 Rakefile
  92. 0 {rspec → }/TODO
  93. 0 {rspec → }/UPGRADE
  94. 0 {rspec → }/bin/spec
  95. 0 {rspec → }/bin/spec_translator
  96. +0 −18 doc/README
  97. +0 −9 doc/Rakefile
  98. +0 −6 doc/docspec.rb
  99. +0 −68 doc/layouts/default.rhtml
  100. +0 −124 doc/lib/rspec_extras.rb
  101. +0 −30 doc/src/404.html
  102. +0 −30 doc/src/422.html
  103. +0 −30 doc/src/500.html
  104. +0 −17 doc/src/archive.page
  105. +0 −9 doc/src/changes.page
  106. +0 −73 doc/src/community/contribute.page
  107. +0 −321 doc/src/community/index.page
  108. +0 −21 doc/src/css/blueprint/License.txt
  109. +0 −100 doc/src/css/blueprint/Readme.txt
  110. +0 −112 doc/src/css/blueprint/lib/buttons.css
  111. +0 −137 doc/src/css/blueprint/lib/compressed.css
  112. +0 −149 doc/src/css/blueprint/lib/grid.css
  113. BIN doc/src/css/blueprint/lib/img/grid.png
  114. BIN doc/src/css/blueprint/lib/img/icons/cross.png
  115. BIN doc/src/css/blueprint/lib/img/icons/textfield_key.png
  116. BIN doc/src/css/blueprint/lib/img/icons/tick.png
  117. +0 −40 doc/src/css/blueprint/lib/reset.css
  118. +0 −161 doc/src/css/blueprint/lib/typography.css
  119. +0 −79 doc/src/css/blueprint/print.css
  120. +0 −30 doc/src/css/blueprint/screen.css
  121. +0 −86 doc/src/css/breadcrumbs.css
  122. +0 −111 doc/src/css/coderay.css
  123. +0 −233 doc/src/css/default.css
  124. +0 −59 doc/src/css/site.css
  125. +0 −10 doc/src/dispatch.cgi
  126. +0 −24 doc/src/dispatch.fcgi
  127. +0 −10 doc/src/dispatch.rb
  128. +0 −105 doc/src/documentation/before_and_after.page
  129. +0 −15 doc/src/documentation/expectations.page
  130. +0 −286 doc/src/documentation/index.page
  131. +0 −60 doc/src/documentation/mocks/index.page
  132. +0 −322 doc/src/documentation/mocks/message_expectations.page
  133. +0 −62 doc/src/documentation/mocks/other_frameworks.page
  134. +0 −31 doc/src/documentation/mocks/partial_mocks.page
  135. +0 −67 doc/src/documentation/mocks/stubs.page
  136. +0 −32 doc/src/documentation/rails/generators.page
  137. +0 −101 doc/src/documentation/rails/index.page
  138. +0 −129 doc/src/documentation/rails/install.page
  139. +0 −75 doc/src/documentation/rails/runners.page
  140. +0 −163 doc/src/documentation/rails/writing/controllers.page
  141. +0 −34 doc/src/documentation/rails/writing/helpers.page
  142. +0 −43 doc/src/documentation/rails/writing/index.page
  143. +0 −39 doc/src/documentation/rails/writing/models.page
  144. +0 −21 doc/src/documentation/rails/writing/notes.txt
  145. +0 −10 doc/src/documentation/rails/writing/stories.page
  146. +0 −136 doc/src/documentation/rails/writing/views.page
  147. +0 −10 doc/src/documentation/specs.page
  148. +0 −19 doc/src/documentation/stories.page
  149. +0 −82 doc/src/documentation/test_unit.page
  150. +0 −57 doc/src/documentation/tools/extensions/editors/index.page
  151. +0 −65 doc/src/documentation/tools/extensions/editors/textmate.page
  152. +0 −20 doc/src/documentation/tools/extensions/index.page
  153. +0 −24 doc/src/documentation/tools/heckle.page
  154. +0 −57 doc/src/documentation/tools/index.page
  155. +0 −33 doc/src/documentation/tools/rake.page
  156. +0 −52 doc/src/documentation/tools/rcov.page
  157. +0 −61 doc/src/documentation/tools/spec.page
  158. +0 −50 doc/src/download.page
  159. +0 −25 doc/src/examples.page
  160. BIN doc/src/images/David_and_Aslak.jpg
  161. BIN doc/src/images/Whats_That_Dude.jpg
  162. BIN doc/src/images/ali_westside.jpg
  163. BIN doc/src/images/arrow.gif
  164. BIN doc/src/images/ducks1.png
  165. BIN doc/src/images/eylogo.gif
  166. BIN doc/src/images/stack_example_tm_report.jpg
  167. +0 −767 doc/src/images/test_unit.graffle
  168. BIN doc/src/images/test_unit.png
  169. +0 −149 doc/src/index.page
  170. +0 −2 doc/src/javascripts/application.js
  171. +0 −963 doc/src/javascripts/controls.js
  172. +0 −972 doc/src/javascripts/dragdrop.js
  173. +0 −1,120 doc/src/javascripts/effects.js
  174. +0 −4,225 doc/src/javascripts/prototype.js
  175. +0 −20 doc/src/license.page
  176. +0 −67 doc/src/upgrade.page
  177. +0 −4 doc/tasks/clobber.rake
  178. +0 −4 doc/tasks/create.rake
  179. +0 −22 doc/tasks/deploy.rake
  180. +0 −12 doc/tasks/growl.rake
  181. +0 −32 doc/tasks/heel.rake
  182. +0 −34 doc/tasks/setup.rb
  183. +0 −18 doc/templates/page.erb
  184. +0 −22 example_rails_app/Multirails.rake
  185. +0 −11 example_rails_app/README
  186. +0 −11 example_rails_app/Rakefile
  187. +0 −7 example_rails_app/TODO
  188. +0 −4 example_rails_app/app/controllers/application.rb
  189. +0 −9 example_rails_app/app/controllers/naughty_controller.rb
  190. +0 −35 example_rails_app/app/controllers/people_controller.rb
  191. +0 −3 example_rails_app/app/helpers/application_helper.rb
  192. +0 −18 example_rails_app/app/helpers/people_helper.rb
  193. +0 −4 example_rails_app/app/models/animal.rb
  194. +0 −18 example_rails_app/app/models/person.rb
  195. +0 −3 example_rails_app/app/models/thing.rb
  196. +0 −1 example_rails_app/app/views/people/_person.rhtml
  197. +0 −1 example_rails_app/app/views/people/_person_spacer.rhtml
  198. +0 −7 example_rails_app/app/views/people/create.rhtml
  199. +0 −22 example_rails_app/app/views/people/list.rhtml
  200. +0 −5 example_rails_app/app/views/people/show.rhtml
  201. +0 −44 example_rails_app/config/boot.rb
  202. +0 −8 example_rails_app/config/database.mysql.yml
  203. +0 −8 example_rails_app/config/database.pgsql.yml
  204. +0 −6 example_rails_app/config/database.sqlite3.yml
  205. +0 −69 example_rails_app/config/environment.rb
  206. +0 −18 example_rails_app/config/environments/development.rb
  207. +0 −18 example_rails_app/config/environments/production.rb
  208. +0 −22 example_rails_app/config/environments/test.rb
  209. +0 −3 example_rails_app/config/routes.rb
  210. +0 −3 example_rails_app/config/routes.rb.bak
  211. +0 −12 example_rails_app/db/migrate/001_initial_schema.rb
  212. +0 −13 example_rails_app/db/migrate/002_create_animals.rb
  213. +0 −12 example_rails_app/db/migrate/003_create_things.rb
  214. +0 −16 example_rails_app/db/migrate/004_create_mockables.rb
  215. +0 −6 example_rails_app/db/mysql_setup.sql
  216. +0 −5 example_rails_app/db/mysql_teardown.sql
  217. +0 −2 example_rails_app/doc/README_FOR_APP
  218. +0 −86 example_rails_app/lib/tasks/bootstrap_rspec.rake
  219. +0 −40 example_rails_app/public/.htaccess
  220. +0 −8 example_rails_app/public/404.html
  221. +0 −8 example_rails_app/public/500.html
  222. +0 −10 example_rails_app/public/dispatch.cgi
  223. +0 −24 example_rails_app/public/dispatch.fcgi
  224. +0 −10 example_rails_app/public/dispatch.rb
  225. 0 example_rails_app/public/favicon.ico
  226. BIN example_rails_app/public/images/rails.png
  227. +0 −277 example_rails_app/public/index.html
  228. +0 −2 example_rails_app/public/javascripts/application.js
  229. +0 −815 example_rails_app/public/javascripts/controls.js
  230. +0 −913 example_rails_app/public/javascripts/dragdrop.js
  231. +0 −958 example_rails_app/public/javascripts/effects.js
  232. +0 −2,006 example_rails_app/public/javascripts/prototype.js
  233. +0 −1 example_rails_app/public/robots.txt
  234. +0 −3 example_rails_app/script/about
  235. +0 −3 example_rails_app/script/breakpointer
  236. +0 −3 example_rails_app/script/console
  237. +0 −3 example_rails_app/script/destroy
  238. +0 −3 example_rails_app/script/generate
  239. +0 −3 example_rails_app/script/performance/benchmarker
  240. +0 −3 example_rails_app/script/performance/profiler
  241. +0 −3 example_rails_app/script/plugin
  242. +0 −3 example_rails_app/script/process/reaper
  243. +0 −3 example_rails_app/script/process/spawner
  244. +0 −3 example_rails_app/script/runner
  245. +0 −3 example_rails_app/script/server
  246. +0 −21 example_rails_app/spec/controllers/naughty_controller_spec.rb
  247. +0 −156 example_rails_app/spec/controllers/people_controller_spec.rb
  248. +0 −8 example_rails_app/spec/fixtures/animals.yml
  249. +0 −3 example_rails_app/spec/fixtures/people.yml
  250. 0 example_rails_app/spec/fixtures/things.yml
  251. +0 −12 example_rails_app/spec/helpers/people_helper_spec.rb
  252. +0 −15 example_rails_app/spec/models/animal_spec.rb
  253. +0 −74 example_rails_app/spec/models/person_spec.rb
  254. +0 −17 example_rails_app/spec/views/person/create_view_spec.rb
  255. +0 −35 example_rails_app/spec/views/person/list_view_spec.rb
  256. +0 −19 example_rails_app/spec/views/person/show_view_spec.rb
  257. +0 −20 example_rails_app/spec/watir/person_spec.rb
  258. +0 −47 example_rails_app/stories/add_person.rb
  259. +0 −29 example_rails_app/test/test_helper.rb
  260. 0 {rspec → }/examples/pure/autogenerated_docstrings_example.rb
  261. 0 {rspec → }/examples/pure/before_and_after_example.rb
  262. 0 {rspec → }/examples/pure/behave_as_example.rb
  263. 0 {rspec → }/examples/pure/custom_expectation_matchers.rb
  264. 0 {rspec → }/examples/pure/custom_formatter.rb
  265. 0 {rspec → }/examples/pure/dynamic_spec.rb
  266. 0 {rspec → }/examples/pure/file_accessor.rb
  267. 0 {rspec → }/examples/pure/file_accessor_spec.rb
  268. 0 {rspec → }/examples/pure/greeter_spec.rb
  269. 0 {rspec → }/examples/pure/helper_method_example.rb
  270. 0 {rspec → }/examples/pure/io_processor.rb
  271. 0 {rspec → }/examples/pure/io_processor_spec.rb
  272. 0 {rspec → }/examples/pure/legacy_spec.rb
  273. 0 {rspec → }/examples/pure/mocking_example.rb
  274. 0 {rspec → }/examples/pure/multi_threaded_behaviour_runner.rb
  275. 0 {rspec → }/examples/pure/nested_classes_example.rb
  276. 0 {rspec → }/examples/pure/partial_mock_example.rb
  277. 0 {rspec → }/examples/pure/pending_example.rb
  278. 0 {rspec → }/examples/pure/predicate_example.rb
  279. 0 {rspec → }/examples/pure/priority.txt
  280. 0 {rspec → }/examples/pure/shared_example_group_example.rb
  281. 0 {rspec → }/examples/pure/shared_stack_examples.rb
  282. 0 {rspec → }/examples/pure/spec_helper.rb
  283. 0 {rspec → }/examples/pure/stack.rb
  284. 0 {rspec → }/examples/pure/stack_spec.rb
  285. 0 {rspec → }/examples/pure/stack_spec_with_nested_example_groups.rb
  286. 0 {rspec → }/examples/pure/stubbing_example.rb
  287. 0 {rspec → }/examples/stories/adder.rb
  288. 0 {rspec → }/examples/stories/addition
  289. 0 {rspec → }/examples/stories/addition.rb
  290. 0 {rspec → }/examples/stories/calculator.rb
  291. 0 {rspec → }/examples/stories/game-of-life/.loadpath
  292. 0 {rspec → }/examples/stories/game-of-life/README.txt
  293. 0 {rspec → }/examples/stories/game-of-life/behaviour/everything.rb
  294. 0 {rspec → }/examples/stories/game-of-life/behaviour/examples/examples.rb
  295. 0 {rspec → }/examples/stories/game-of-life/behaviour/examples/game_behaviour.rb
  296. 0 {rspec → }/examples/stories/game-of-life/behaviour/examples/grid_behaviour.rb
  297. 0 {rspec → }/examples/stories/game-of-life/behaviour/stories/CellsWithLessThanTwoNeighboursDie.story
  298. 0 {rspec → }/examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story
  299. 0 ...}/examples/stories/game-of-life/behaviour/stories/EmptySpacesWithThreeNeighboursCreateACell.story
  300. 0 {rspec → }/examples/stories/game-of-life/behaviour/stories/ICanCreateACell.story
Sorry, we could not display the entire diff because too many files (1,122) changed.
View
0 rspec/.autotest → .autotest
File renamed without changes.
View
0 rspec/CHANGES → CHANGES
File renamed without changes.
View
0 rspec/MIT-LICENSE → MIT-LICENSE
File renamed without changes.
View
72 README
@@ -1 +1,71 @@
-See rspec/README.
+== RSpec
+
+RSpec is a Behaviour Driven Development framework with tools to express User Stories
+with Executable Scenarios and Executable Examples at the code level.
+
+RSpec ships with several modules:
+
+Spec::Story provides a framework for expressing User Stories
+
+Spec::Example provides a framework for expressing code Examples
+
+Spec::Matchers provides Expression Matchers for use with Spec::Expectations
+and Spec::Mocks.
+
+Spec::Expectations supports setting expectations on your objects so you
+can do things like:
+
+ result.should equal(expected_result)
+
+Spec::Mocks supports creating Mock Objects, Stubs, and adding Mock/Stub
+behaviour to your existing objects.
+
+== Installation
+
+The simplest approach is to install the gem:
+
+ gem install -r rspec #mac users must sudo
+
+== Building the RSpec gem
+If you prefer to build the gem locally, check out source from svn://rubyforge.org/var/svn/rspec/trunk. Then
+do the following:
+
+ rake gem
+ gem install pkg/rspec-0.x.x.gem (you may have to sudo)
+
+== Running RSpec's specs
+In order to run RSpec's full suite of specs (rake pre_commit) you must install the following gems:
+
+* rake # Runs the build script
+* rcov # Verifies that the code is 100% covered by specs
+* webby # Generates the static HTML website
+* syntax # Required to highlight ruby code
+* diff-lcs # Required if you use the --diff switch
+* win32console # Required by the --colour switch if you're on Windows
+* meta_project # Required in order to make releases at RubyForge
+* heckle # Required if you use the --heckle switch
+* hpricot # Used for parsing HTML from the HTML output formatter in RSpec's own specs
+
+Once those are all installed, you should be able to run the suite with the following steps:
+
+* svn co svn://rubyforge.org/var/svn/rspec/trunk rspec
+* cd rspec
+* rake install_dependencies
+* cd example_rails_app
+* export RSPEC_RAILS_VERSION=1.2.3
+* rake rspec:generate_mysql_config
+* mysql -u root < db/mysql_setup.sql
+* cd ..
+* rake pre_commit
+
+Note that RSpec itself - once built - doesn't have any dependencies outside the Ruby core
+and stdlib - with a few exceptions:
+
+* The spec command line uses diff-lcs when --diff is specified.
+* The spec command line uses heckle when --heckle is specified.
+* The Spec::Rake::SpecTask needs RCov if RCov is enabled in the task.
+
+See http://rspec.info for further documentation.
+
+== Contributing
+
View
25 RSpec.tmbundle/Commands/Alternate File.tmCommand
@@ -1,25 +0,0 @@
-<?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>
View
28 RSpec.tmbundle/Commands/Run Focussed Specification.tmCommand
@@ -1,28 +0,0 @@
-<?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 Single 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>
View
27 RSpec.tmbundle/Commands/Run Specifications - Normal.tmCommand
@@ -1,27 +0,0 @@
-<?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 Examples</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>
View
26 RSpec.tmbundle/Commands/Run Specifications in selected files or directories.tmCommand
@@ -1,26 +0,0 @@
-<?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 Examples 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>
View
19 RSpec.tmbundle/Preferences/SymbolList-Behaviour.tmPreferences
@@ -1,19 +0,0 @@
-<?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>
View
19 RSpec.tmbundle/Preferences/SymbolList-Example.tmPreferences
@@ -1,19 +0,0 @@
-<?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>
View
2 RSpec.tmbundle/README
@@ -1,2 +0,0 @@
-Parts of RSpec.tmbundle is based on Florian Weber's TDDMate.
-The license of RSpec.tmbundle is the same as RSpec's.
View
39 RSpec.tmbundle/Snippets/Custom Matcher.tmSnippet
@@ -1,39 +0,0 @@
-<?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>
View
20 RSpec.tmbundle/Snippets/Describe.tmSnippet
@@ -1,20 +0,0 @@
-<?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>
View
20 RSpec.tmbundle/Snippets/Describe_type.tmSnippet
@@ -1,20 +0,0 @@
-<?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>
View
20 RSpec.tmbundle/Snippets/Describe_type_string.tmSnippet
@@ -1,20 +0,0 @@
-<?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>
View
18 RSpec.tmbundle/Snippets/It.tmSnippet
@@ -1,18 +0,0 @@
-<?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>
View
16 RSpec.tmbundle/Snippets/Require spec_helper.tmSnippet
@@ -1,16 +0,0 @@
-<?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>
View
20 RSpec.tmbundle/Snippets/Scenario.tmSnippet
@@ -1,20 +0,0 @@
-<?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>Scenario "${1:title}" do
- Given "${2:given}"
- When "${3:when}"
- Then "${4:then}"
-end</string>
- <key>name</key>
- <string>Scenario</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>sce</string>
- <key>uuid</key>
- <string>FCB3248F-0AFD-4CB5-BF4F-1B7CDB807981</string>
-</dict>
-</plist>
View
16 RSpec.tmbundle/Snippets/Set Controller for Spec.tmSnippet
@@ -1,16 +0,0 @@
-<?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>
View
21 RSpec.tmbundle/Snippets/Story.tmSnippet
@@ -1,21 +0,0 @@
-<?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>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>sto</string>
- <key>uuid</key>
- <string>73A67D49-CA5B-4B8A-9B62-003506276CDD</string>
-</dict>
-</plist>
View
16 RSpec.tmbundle/Snippets/and_raise.tmSnippet
@@ -1,16 +0,0 @@
-<?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>
View
16 RSpec.tmbundle/Snippets/and_return_block.tmSnippet
@@ -1,16 +0,0 @@
-<?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>
View
16 RSpec.tmbundle/Snippets/and_return_value.tmSnippet
@@ -1,16 +0,0 @@
-<?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>
View
16 RSpec.tmbundle/Snippets/and_throw.tmSnippet
@@ -1,16 +0,0 @@
-<?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_throw(${1:sym})</string>
- <key>name</key>
- <string>and_throw</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>ant</string>
- <key>uuid</key>
- <string>2CC293EE-496A-4B66-928C-332DDCBEE884</string>
-</dict>
-</plist>
View
16 RSpec.tmbundle/Snippets/and_yield.tmSnippet
@@ -1,16 +0,0 @@
-<?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_yield(${1:values})</string>
- <key>name</key>
- <string>and_yield</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>any</string>
- <key>uuid</key>
- <string>ED3A9BE5-8695-44FF-9B6B-A7FF4C13727C</string>
-</dict>
-</plist>
View
16 RSpec.tmbundle/Snippets/any_number_of_times.tmSnippet
@@ -1,16 +0,0 @@
-<?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>any_number_of_times</string>
- <key>name</key>
- <string>any_number_of_times</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>annot</string>
- <key>uuid</key>
- <string>D5E64C38-9CBC-4825-9A66-5718DA91AAD6</string>
-</dict>
-</plist>
View
16 RSpec.tmbundle/Snippets/at_least.tmSnippet
@@ -1,16 +0,0 @@
-<?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>at_least(${1:n}).times</string>
- <key>name</key>
- <string>at_least</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>atl</string>
- <key>uuid</key>
- <string>F2FDA911-B713-4788-81BF-EF33E9A4FB26</string>
-</dict>
-</plist>
View
16 RSpec.tmbundle/Snippets/at_most.tmSnippet
@@ -1,16 +0,0 @@
-<?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>at_most(${1:n}).times</string>
- <key>name</key>
- <string>at_most</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>atm</string>
- <key>uuid</key>
- <string>9A891C8D-4285-4C7D-BA03-6CA50A89F9C0</string>
-</dict>
-</plist>
View
20 RSpec.tmbundle/Snippets/controller_context.tmSnippet
@@ -1,20 +0,0 @@
-<?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'
-
-describe ${1:controller} do
- $0
-end</string>
- <key>name</key>
- <string>describe (Controller)</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>desc</string>
- <key>uuid</key>
- <string>FC8C2948-3653-41B3-965A-5D0B7C64CB41</string>
-</dict>
-</plist>
View
18 RSpec.tmbundle/Snippets/controller_context_RESTful.tmSnippet
@@ -1,18 +0,0 @@
-<?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:controller}, "${2:GET|POST|PUT|DELETE} ${3:/some/path}${4: with some parameters}" do
- $0
-end</string>
- <key>name</key>
- <string>describe (RESTful Controller)</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>desrc</string>
- <key>uuid</key>
- <string>0ED99C84-1F7B-471E-BB88-B59C5D08FA6B</string>
-</dict>
-</plist>
View
16 RSpec.tmbundle/Snippets/exactly.tmSnippet
@@ -1,16 +0,0 @@
-<?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>exactly(${1:n}).times</string>
- <key>name</key>
- <string>exactly</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>ex</string>
- <key>uuid</key>
- <string>1A3662E4-DB9D-4F29-8E42-984755A419FA</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/mock.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:var} = mock("${2:mock_name}"${3:, :null_object =&gt; true})
-$0</string>
- <key>name</key>
- <string>mock</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>moc</string>
- <key>uuid</key>
- <string>AA3D9F87-FE8F-4808-A732-F368CCB9DED6</string>
-</dict>
-</plist>
View
18 RSpec.tmbundle/Snippets/mock_with.tmSnippet
@@ -1,18 +0,0 @@
-<?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>Spec::Runner.configure do |config|
- config.mock_with :${0:mocha|flexmock|rr}
-end</string>
- <key>name</key>
- <string>mock_with</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>mocw</string>
- <key>uuid</key>
- <string>520CA137-E4FC-4DB0-92DA-980DFE54A35B</string>
-</dict>
-</plist>
View
16 RSpec.tmbundle/Snippets/once.tmSnippet
@@ -1,16 +0,0 @@
-<?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>once</string>
- <key>name</key>
- <string>once</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>on</string>
- <key>uuid</key>
- <string>695ECDF3-FEFC-4702-AF71-641E64017907</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/response_should_be_success.tmSnippet
@@ -1,17 +0,0 @@
-<?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>response.should be_success
-$0</string>
- <key>name</key>
- <string>should be_success</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shbs</string>
- <key>uuid</key>
- <string>0A118507-983C-4441-8B00-73AF7E931FC5</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/response_should_not_be_success.tmSnippet
@@ -1,17 +0,0 @@
-<?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>response.should_not be_success
-$0</string>
- <key>name</key>
- <string>should_not be_success</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnbs</string>
- <key>uuid</key>
- <string>8303E848-4F07-4D3C-98FA-19DA4676812E</string>
-</dict>
-</plist>
View
18 RSpec.tmbundle/Snippets/setup.tmSnippet
@@ -1,18 +0,0 @@
-<?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>before(${1::each}) do
- $0
-end</string>
- <key>name</key>
- <string>before</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>bef</string>
- <key>uuid</key>
- <string>7D960FC5-4859-4328-A06B-73A3CF6763E0</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should ==.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should == ${2:value}
-$0</string>
- <key>name</key>
- <string>should ==</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>sh=</string>
- <key>uuid</key>
- <string>AF99B458-D589-414D-87C7-8FACD2EF9FD5</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should =~.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should =~ /${2:regexp}/
-$0</string>
- <key>name</key>
- <string>should =~</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shm</string>
- <key>uuid</key>
- <string>0BD5A07E-5FB3-44A3-991F-ABA04BA632D7</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should eql.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should eql(${2:value})
-$0</string>
- <key>name</key>
- <string>should eql</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>she</string>
- <key>uuid</key>
- <string>0F03467B-16F7-4764-99C6-B7F123E95E5C</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_be.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should be(${2:result})
-$0</string>
- <key>name</key>
- <string>should be</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shb</string>
- <key>uuid</key>
- <string>F401AA03-A119-4965-8677-BDAAE8312F13</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_be_a_kind_of.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should be_a_kind_of(${2:klass})
-$0</string>
- <key>name</key>
- <string>should be_kind_of</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shbko</string>
- <key>uuid</key>
- <string>29BF3286-6D33-418D-9BD5-79BAB0797FE4</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_be_an_instance_of.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should be_instance_of(${2:klass})
-$0</string>
- <key>name</key>
- <string>should be_instance_of</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shbio</string>
- <key>uuid</key>
- <string>8C5B6597-E115-4569-AE58-EF04042B21CD</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_be_close.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should be_close(${2:result}, ${3:tolerance})
-$0</string>
- <key>name</key>
- <string>should be_close</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shbc</string>
- <key>uuid</key>
- <string>5A203680-6F32-482F-A6A3-50CB7EE99E0E</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_be_redirect.tmSnippet
@@ -1,17 +0,0 @@
-<?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>response.should be_redirect
-$0</string>
- <key>name</key>
- <string>should be_redirect</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shbr</string>
- <key>uuid</key>
- <string>E4DA45B3-736F-40DF-8344-25A79E073730</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_equal.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should equal(${2:value})
-$0</string>
- <key>name</key>
- <string>should equal</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>she</string>
- <key>uuid</key>
- <string>7DB5AC43-745F-488A-99F1-54CD923DCC38</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_have.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should have(${2:num}).${3:things}
-$0</string>
- <key>name</key>
- <string>should have</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shh</string>
- <key>uuid</key>
- <string>42B1F497-2BAF-425D-9829-57E35456E7FE</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_have_at_least.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should have_at_least(${2:num}).${3:things}
-$0</string>
- <key>name</key>
- <string>should have_at_least</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shhal</string>
- <key>uuid</key>
- <string>8A4F8C8E-B347-4D18-9203-247256874C47</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_have_at_most.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should have_at_most(${2:num}).${3:things}
-$0</string>
- <key>name</key>
- <string>should have_at_most</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shham</string>
- <key>uuid</key>
- <string>1BE271C6-3310-46A8-83E1-88C45BBE27AC</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_have_records.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should have(${2:x}).records
-$0</string>
- <key>name</key>
- <string>should have_records</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shhr</string>
- <key>uuid</key>
- <string>9605BD4A-93E5-4D57-99FB-D8844D40F183</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_match.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should match(/${2:regexp}/)
-$0</string>
- <key>name</key>
- <string>should match</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shm</string>
- <key>uuid</key>
- <string>D6CE8D1B-16EC-4E0E-8089-62F193D3D048</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not ==.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should_not == ${2:value}
-$0</string>
- <key>name</key>
- <string>should_not ==</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shn=</string>
- <key>uuid</key>
- <string>3A699BC3-3E17-4CFD-844C-2285F971379C</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not =~.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should_not =~ /${2:regexp}/
-$0</string>
- <key>name</key>
- <string>should_not =~</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnm</string>
- <key>uuid</key>
- <string>7563CED5-5FD8-454C-972C-AC240D549E8B</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not eql.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should_not eql(${2:value})
-$0</string>
- <key>name</key>
- <string>should_not eql</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shne</string>
- <key>uuid</key>
- <string>04BED613-C9EF-4E41-82D7-9958BBDBE0E3</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not_be.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should_not be(${2:result})
-$0</string>
- <key>name</key>
- <string>should_not be</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnb</string>
- <key>uuid</key>
- <string>BD1CBF13-3A1F-49AB-8B3A-25967B437FD7</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not_be_a_kind_of.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should_not be_a_kind_of(${2:klass})
-$0</string>
- <key>name</key>
- <string>should_not be_kind_of</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shkof</string>
- <key>uuid</key>
- <string>96C5A0CC-08D9-4DCE-B127-78370964E64E</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not_be_an_instance_of.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should_not be_instance_of(${2:klass})
-$0</string>
- <key>name</key>
- <string>should_not be_instance_of</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shbio</string>
- <key>uuid</key>
- <string>364B3C9C-409C-4FC8-A12A-9A05CFB476CF</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not_be_close.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should_not be_close(${2:result}, ${3:tolerance})
-$0</string>
- <key>name</key>
- <string>should_not be_close</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnbc</string>
- <key>uuid</key>
- <string>259BCEC6-878E-411F-A6B7-69B038B75CE1</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not_be_redirect.tmSnippet
@@ -1,17 +0,0 @@
-<?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>response.should_not be_redirect
-$0</string>
- <key>name</key>
- <string>should_not be_redirect</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnbr</string>
- <key>uuid</key>
- <string>E79DAF3F-8960-47C1-A34C-3D0E4B0AF926</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not_equal.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should_not equal(${2:value})
-$0</string>
- <key>name</key>
- <string>should_not equal</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shne</string>
- <key>uuid</key>
- <string>A6966089-6A33-4836-B85D-9CB72DBEB0A5</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not_match.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should_not match(/${2:regexp}/)
-$0</string>
- <key>name</key>
- <string>should_not match</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnm</string>
- <key>uuid</key>
- <string>014285F3-D908-427F-B535-E5A4AEF09339</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not_predicate.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should_not ${2:be_${3:predicate}} $4
-$0</string>
- <key>name</key>
- <string>should_not predicate</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnp</string>
- <key>uuid</key>
- <string>1D0BB312-A029-4A43-A024-EF6C03506CEC</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not_raise.tmSnippet
@@ -1,17 +0,0 @@
-<?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>lambda { $1 }.should_not raise_error(${2:error})
-$0</string>
- <key>name</key>
- <string>should_not raise_error</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnre</string>
- <key>uuid</key>
- <string>D6B8DA1B-D07A-4C1E-A27B-59C502104BEA</string>
-</dict>
-</plist>
View
18 RSpec.tmbundle/Snippets/should_not_receive.tmSnippet
@@ -1,18 +0,0 @@
-<?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>${1:mock}.should_not_receive(:${2:message})$3
-$0
-</string>
- <key>name</key>
- <string>should_not_receive</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnr</string>
- <key>uuid</key>
- <string>4CBCCACF-D6DA-49A6-9A8E-EC2F9CD15E94</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not_respond_to.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should_not respond_to(:${2:sym})
-$0</string>
- <key>name</key>
- <string>should_not respond_to</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnrt</string>
- <key>uuid</key>
- <string>E352E5F0-C83B-4C36-AC72-7BFC4F58DBF0</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not_satisfy.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should_not satisfy { |obj| $2 }
-$0</string>
- <key>name</key>
- <string>should_not satisfy</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shns</string>
- <key>uuid</key>
- <string>E573AF3E-F301-4105-ACA3-C9913431E6ED</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_not_throw.tmSnippet
@@ -1,17 +0,0 @@
-<?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>lambda { $1 }.should_not throw_symbol(:${2:symbol})
-$0</string>
- <key>name</key>
- <string>should_not throw</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shnt</string>
- <key>uuid</key>
- <string>EF7CD2D2-68BC-425B-9C49-7E3597EFE804</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_predicate.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should ${2:be_${3:predicate}} $4
-$0</string>
- <key>name</key>
- <string>should predicate</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shp</string>
- <key>uuid</key>
- <string>FCFC8C47-F477-4674-BFDD-2E0B8D475CE0</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_raise.tmSnippet
@@ -1,17 +0,0 @@
-<?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>lambda { $1 }.should raise_error(${2:error})
-$0</string>
- <key>name</key>
- <string>should raise_error</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shre</string>
- <key>uuid</key>
- <string>813263F0-A2C0-465F-A617-69ECBAF8F7DD</string>
-</dict>
-</plist>
View
18 RSpec.tmbundle/Snippets/should_receive.tmSnippet
@@ -1,18 +0,0 @@
-<?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>${1:mock}.should_receive(:${2:message})$3
-$0
-</string>
- <key>name</key>
- <string>should_receive</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shr</string>
- <key>uuid</key>
- <string>0A7E08E5-4756-49BA-B015-FB3A4D11EA45</string>
-</dict>
-</plist>
View
18 RSpec.tmbundle/Snippets/should_receive_with_args.tmSnippet
@@ -1,18 +0,0 @@
-<?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>with(${1:args})
-$0
-</string>
- <key>name</key>
- <string>with args</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>wia</string>
- <key>uuid</key>
- <string>3F3E8066-8C1A-40D1-85C7-9DC18C6A34BA</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_redirect_to.tmSnippet
@@ -1,17 +0,0 @@
-<?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>response.should redirect_to(${1:url})
-$0</string>
- <key>name</key>
- <string>should redirect_to</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shrt</string>
- <key>uuid</key>
- <string>96F0A193-32F1-4A75-9093-5D20E36593EC</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_render.tmSnippet
@@ -1,17 +0,0 @@
-<?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>response.should render_template(:${1:template})
-$0</string>
- <key>name</key>
- <string>should render_template</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shrt</string>
- <key>uuid</key>
- <string>647C94D6-42FE-40F0-8618-73F7725BF59E</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_respond_to.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should respond_to(:${2:sym})
-$0</string>
- <key>name</key>
- <string>should respond_to</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shrt</string>
- <key>uuid</key>
- <string>D139CA8C-AACC-4314-AB86-BB3021D31B12</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_satisfy.tmSnippet
@@ -1,17 +0,0 @@
-<?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>${1:target}.should satisfy { |obj| $2 }
-$0</string>
- <key>name</key>
- <string>should satisfy</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>shs</string>
- <key>uuid</key>
- <string>3FF9AC90-799D-4BFD-8203-58199A1AD429</string>
-</dict>
-</plist>
View
17 RSpec.tmbundle/Snippets/should_throw.tmSnippet
@@ -1,17 +0,0 @@
-<?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>lambda { $1 }.should throw_symbol(:${2:symbol})
-$0</string>
- <key>name</key>
- <string>should throw</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>sht</string>
- <key>uuid</key>
- <string>C41E8AD6-00F5-44E7-9809-F79666FE79F0</string>
-</dict>
-</plist>
View
18 RSpec.tmbundle/Snippets/teardown.tmSnippet
@@ -1,18 +0,0 @@
-<?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>after(${1::each}) do
- $0
-end</string>
- <key>name</key>
- <string>after</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>aft</string>
- <key>uuid</key>
- <string>1201777F-3AC4-4B2A-9A46-C215F891B07A</string>
-</dict>
-</plist>
View
16 RSpec.tmbundle/Snippets/twice.tmSnippet
@@ -1,16 +0,0 @@
-<?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>twice</string>
- <key>name</key>
- <string>twice</string>
- <key>scope</key>
- <string>source.ruby.rspec</string>
- <key>tabTrigger</key>
- <string>tw</string>
- <key>uuid</key>
- <string>85E6D1EE-74A4-4B4A-8A00-942B788FF599</string>
-</dict>
-</plist>
View
10 RSpec.tmbundle/Support/Rakefile
@@ -1,10 +0,0 @@
-$:.unshift(File.dirname(__FILE__) + '/../../rspec/lib')
-require 'rubygems'
-require 'spec/rake/spectask'
-
-desc "Run all specs"
-Spec::Rake::SpecTask.new do |t|
- t.rcov = true
- t.spec_opts = ['--colour', '--diff']
- t.rcov_opts = ['--exclude', 'rspec\/plugins,rspec\/lib\/spec,spec\/spec,fixtures,bin\/spec']
-end
View
9 RSpec.tmbundle/Support/fixtures/example_failing_spec.rb
@@ -1,9 +0,0 @@
-describe "An example failing spec" do
- it "should fail" do
- true.should be_false
- end
-
- it "should also fail" do
- false.should be_true
- end
-end
View
9 RSpec.tmbundle/Support/fixtures/example_passing_spec.rb
@@ -1,9 +0,0 @@
-describe "An example failing spec" do
- it "should pass" do
- true.should be_true
- end
-
- it "should pass too" do
- false.should be_false
- end
-end
View
19 RSpec.tmbundle/Support/lib/spec/mate.rb
@@ -1,19 +0,0 @@
-# This is based on Florian Weber's TDDMate
-require 'rubygems'
-
-rspec_rails_plugin = File.join(ENV['TM_PROJECT_DIRECTORY'],'vendor','plugins','rspec','lib')
-if File.directory?(rspec_rails_plugin)
- $LOAD_PATH.unshift(rspec_rails_plugin)
-elsif ENV['TM_RSPEC_HOME']
- rspec_lib = File.join(ENV['TM_RSPEC_HOME'], 'lib')
- unless File.directory?(rspec_lib)
- raise "TM_RSPEC_HOME points to a bad location: #{ENV['TM_RSPEC_HOME']}"
- end
- $LOAD_PATH.unshift(rspec_lib)
-end
-require 'spec'
-
-$LOAD_PATH.unshift(File.dirname(__FILE__) + '/..')
-require 'spec/mate/runner'
-require 'spec/mate/switch_command'
-#require 'spec/mate/text_mate_formatter'
View
46 RSpec.tmbundle/Support/lib/spec/mate/runner.rb
@@ -1,46 +0,0 @@
-module Spec
- module Mate
- class Runner
- def run_files(stdout, options={})
- files = ENV['TM_SELECTED_FILES'].split(" ").map do |path|
- File.expand_path(path[1..-2])
- end
- options.merge!({:files => files})
- run(stdout, options)
- end
-
- def run_file(stdout, options={})
- options.merge!({:files => [single_file]})
- run(stdout, options)
- end
-
- def run_focussed(stdout, options={})
- options.merge!({:files => [single_file], :line => ENV['TM_LINE_NUMBER']})
- run(stdout, options)
- end
-
- def run(stdout, options)
- argv = options[:files].dup
- argv << '--format'
- argv << 'textmate'
- if options[:line]
- argv << '--line'
- argv << options[:line]
- end
- argv += ENV['TM_RSPEC_OPTS'].split(" ") if ENV['TM_RSPEC_OPTS']
- Dir.chdir(project_directory) do
- ::Spec::Runner::CommandLine.run(::Spec::Runner::OptionParser.parse(argv, STDERR, stdout))
- end
- end
-