Permalink
Browse files

rake spec only uses inline_spec.rb now

  • Loading branch information...
1 parent 03d72be commit 5f7d4cbe49341af706f85fe0d55ff8332bd2acea @judofyr committed Jul 14, 2009
Showing with 9 additions and 3 deletions.
  1. +9 −3 Rakefile
View
@@ -1,7 +1,13 @@
+ALL = FileList['spec/*_spec.rb']
+BASIC = ALL.grep(/basic|inline/)
+
task :spec do
- Dir["spec/*_spec.rb"].each do |spec|
- load spec
- end
+ BASIC.each { |file| load file }
+ Bacon.summary_on_exit
+end
+
+task :all do
+ ALL.each { |file| load file }
Bacon.summary_on_exit
end

0 comments on commit 5f7d4cb

Please sign in to comment.