Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ActiveModel lint tests no long need to be run separately

  • Loading branch information...
commit 096e19de7f39c04d68097aa8940da1c4c41da64c 1 parent 28c1d67
@bkeepers bkeepers authored
Showing with 3 additions and 16 deletions.
  1. +3 −16 Rakefile
View
19 Rakefile
@@ -4,22 +4,9 @@ require 'rake'
require 'rake/testtask'
require File.expand_path('../lib/mongo_mapper/version', __FILE__)
-namespace :test do
- Rake::TestTask.new(:all) do |test|
- test.libs << 'lib' << 'test'
- test.pattern = 'test/{functional,unit}/**/test_*.rb'
- end
-
- desc "Run active model lint test"
- task :am_lint do
- sh 'ruby -Itest -rubygems test/test_active_model_lint.rb'
- end
-end
-
-desc 'Runs all tests and ActiveModel lint'
-task :test do
- Rake::Task['test:all'].invoke
- Rake::Task['test:am_lint'].invoke
+Rake::TestTask.new(:test) do |test|
+ test.libs << 'lib' << 'test'
+ test.pattern = 'test/**/test_*.rb'
end
task :default => :test

1 comment on commit 096e19d

@KieranP

:-D Great work! Can't wait to use this with Rails 3.

Please sign in to comment.
Something went wrong with that request. Please try again.