aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2012-12-18 19:38:40 +0000
committerLouise Crow <louise.crow@gmail.com>2012-12-18 19:38:40 +0000
commit421ee811940358164f7a719e50f4dd14d58c3752 (patch)
tree957f7016e688aee5579d3a55166f8d61fa164e1e
parent35e7277205e7edfe140c5eea2b40549a3eb2c864 (diff)
If we're not going to run the commonlib tests (and I think that's correct - they belong in commonlib and should only be run when commonlib is changed), then don't load them. Allows us not to include the rspec gem in production.
-rw-r--r--Rakefile1
-rw-r--r--lib/tasks/rspec.rake2
2 files changed, 0 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index d4ebade51..eb9ec718b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -9,4 +9,3 @@ require 'rdoc/task'
require 'tasks/rails'
-Dir[File.join(File.dirname(__FILE__),'commonlib','rblib','tests','*.rake')].each { |file| load(file) }
diff --git a/lib/tasks/rspec.rake b/lib/tasks/rspec.rake
index b9b234b6a..d4fd4a9ff 100644
--- a/lib/tasks/rspec.rake
+++ b/lib/tasks/rspec.rake
@@ -55,8 +55,6 @@ end
task :default => :spec
task :stats => "spec:statsetup"
-# XXX commonlib tests are not Ruby 1.9 compatible
-#task :spec => ['spec:commonlib']
task :test => ['spec']
task :cruise => ['spec']