Skip to content

Instantly share code, notes, and snippets.

@seanders
Created October 20, 2014 07:05
Show Gist options
  • Save seanders/01ca0e9f7120959bfe2f to your computer and use it in GitHub Desktop.
Save seanders/01ca0e9f7120959bfe2f to your computer and use it in GitHub Desktop.

Revisions

  1. seanders created this gist Oct 20, 2014.
    34 changes: 34 additions & 0 deletions ruby_test_sublime.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    {
    "erb_verify_command": "erb -xT - {file_name} | ruby -c",
    "ruby_verify_command": "ruby -c {file_name}",

    "run_ruby_unit_command": "ruby -Itest {relative_path}",
    "run_single_ruby_unit_command": "ruby -Itest {relative_path} -n '{test_name}'",

    "run_cucumber_command": "cucumber {relative_path}",
    "run_single_cucumber_command": "cucumber {relative_path} -l{line_number}",

    "run_rspec_command": "rspec {relative_path}",
    "run_single_rspec_command": "rspec {relative_path}:{line_number}",

    "ruby_unit_folder": "test",
    "ruby_cucumber_folder": "features",
    "ruby_rspec_folder": "spec",

    "check_for_rbenv": false,
    "check_for_rvm": true,
    "check_for_bundler": true,
    "check_for_spring": false,

    "ruby_use_scratch" : false,
    "save_on_run": false,
    "ignored_directories": [".git", "vendor", "tmp"],

    "hide_panel": false,

    "before_callback": "",
    "after_callback": "",

    "theme": "Packages/RubyTest/TestConsole.hidden-tmTheme",
    "syntax": "Packages/RubyTest/TestConsole.tmLanguage"
    }