1 2 3 4 5 6 7
require 'rake' require 'rspec/core/rake_task' desc 'Run all RSpec tests in the spec directory' RSpec::Core::RakeTask.new(:test) do |t| t.pattern = 'spec/*_spec.rb' end