public
Description: Rails plugin that treats a column as a boolean, whether it's a tinyint, integer, float, string, etc
Homepage: http://blog.infinitered.com/entries/show/10
Clone URL: git://github.com/twerth/acts_as_boolean.git
acts_as_boolean / Rakefile
100644 14 lines (11 sloc) 0.268 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the acts_as_boolean plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end