Skip to content

Commit

Permalink
Only include adapter files when running coverage specs for adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed May 24, 2012
1 parent 3a4f753 commit aa74a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -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"
Expand Down

0 comments on commit aa74a34

Please sign in to comment.