Skip to content

Instantly share code, notes, and snippets.

@ersatzryan
Created March 31, 2011 16:02
Show Gist options
  • Save ersatzryan/896650 to your computer and use it in GitHub Desktop.
Save ersatzryan/896650 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'thor/rake_compat'
require 'rspec/core/rake_task'
class Test < Thor
include Thor::RakeCompat
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = ["--no-color"]
t.pattern = 'spec/**/*_spec.rb'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment