Permalink
Browse files

Merge pull request #14 from kbarber/ticket/10026-type_rspec_rake_cleanup

Ticket/10026 type rspec rake cleanup
  • Loading branch information...
saysjonathan committed Oct 11, 2011
2 parents c6807fa + 30dec56 commit fc15ae674a77d431cffb03be61f98dc31b0b0387
View
@@ -1,10 +1,17 @@
require 'rake'
require 'rspec/core/rake_task'
-task :default => [:test]
+task :default do
+ sh %{rake -T}
+end
+
+# Aliases for spec. The (s) versions are used by rvm specs/tests.
+task :test => [:spec]
+task :tests => [:spec]
+task :specs => [:spec]
-desc 'Run RSpec'
-RSpec::Core::RakeTask.new(:test) do |t|
+desc 'Run all RSpec tests'
+RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = ['--color']
end

0 comments on commit fc15ae6

Please sign in to comment.