Rakefile in thumbs_up-0.6.2 vs Rakefile in thumbs_up-0.6.3
- old
+ new
@@ -28,14 +28,16 @@
task :release => :build do
system "gem push thumbs_up-#{ThumbsUp::VERSION}.gem"
system "rm thumbs_up-#{ThumbsUp::VERSION}.gem"
end
-task :test_both_databases do
- # Test both MySQL and Postgres.
+task :test_all_databases do
+ # Test MySQL, Postgres and SQLite3
ENV['DB'] = 'mysql'
Rake::Task['test'].execute
ENV['DB'] = 'postgres'
Rake::Task['test'].execute
+ ENV['DB'] = 'sqlite3'
+ Rake::Task['test'].execute
end
-task :default => :test_both_databases
+task :default => :test_all_databases
\ No newline at end of file