Permalink
Browse files

Only include adapter files when running coverage specs for adapters

  • Loading branch information...
1 parent 3a4f753 commit aa74a34535962d45e9e25b456231fedc2383c88b @jeremyevans committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -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"

0 comments on commit aa74a34

Please sign in to comment.