Permalink
Browse files

I'm use to running 'rake spec' from Rails. Here is the equivalent here.

  • Loading branch information...
1 parent 5828521 commit 0021f6aa23d17b231a2bb7cd48566079bf8db00d @markmansour markmansour committed Jan 9, 2009
Showing with 3 additions and 0 deletions.
  1. +3 −0 rakefile.rb
View
@@ -2,6 +2,9 @@
Rake::Task['run_specs'].invoke
end
+task :spec => [:run_specs] do
+end
+
task :run_specs do
puts `spec --require specs/bootstrap.rb --color specs/*_spec.rb`
raise "specs failed" if $?.exitstatus != 0

0 comments on commit 0021f6a

Please sign in to comment.