Skip to content

Instantly share code, notes, and snippets.

@ajsharp
Created August 21, 2011 17:56
Show Gist options
  • Select an option

  • Save ajsharp/1160919 to your computer and use it in GitHub Desktop.

Select an option

Save ajsharp/1160919 to your computer and use it in GitHub Desktop.
require 'rake/dsl_definition'
require 'rake'
include Rake::DSL
desc 'Run all the tests'
task :default => :spec
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new do |t|
t.rspec_opts = ['-c', '-f progress', '-r ./spec/spec_helper.rb']
t.pattern = 'spec/**/*_spec.rb'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment