pelargir / rspec_validation_expectations

Adds several handy expectations for testing ActiveRecord model validations and associations.

This URL has Read+Write access

rspec_validation_expectations / Rakefile
100644 9 lines (7 sloc) 0.156 kb
1
2
3
4
5
6
7
8
9
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
task :default => :test
 
Rake::TestTask.new('test') do |t|
  t.pattern = 'test/*_test.rb'
end