From aa74a34535962d45e9e25b456231fedc2383c88b Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Thu, 24 May 2012 10:22:49 -0700 Subject: [PATCH] Only include adapter files when running coverage specs for adapters --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 912d2cb034..fab7a0d362 100644 --- a/Rakefile +++ b/Rakefile @@ -136,7 +136,7 @@ begin spec_with_cov.call("spec_integration", Dir["spec/integration/*_test.rb"], "Run integration tests") %w'postgres sqlite mysql informix oracle firebird mssql db2'.each do |adapter| - spec_with_cov.call("spec_#{adapter}", ["spec/adapters/#{adapter}_spec.rb"] + Dir["spec/integration/*_test.rb"], "Run #{adapter} specs") + spec_with_cov.call("spec_#{adapter}", ["spec/adapters/#{adapter}_spec.rb"] + Dir["spec/integration/*_test.rb"], "Run #{adapter} specs"){|t| t.rcov_opts.concat(%w'--exclude "lib/sequel/([a-z_]+\.rb|connection_pool|database|dataset|model|extensions|plugins)"')} end desc "Run model specs without the associations code"