Rakefile in teambox-permalink_fu-1.0.2 vs Rakefile in teambox-permalink_fu-1.0.4
- old
+ new
@@ -1,2 +1,14 @@
-require 'bundler'
-Bundler::GemHelper.install_tasks
+require 'bundler/gem_tasks'
+
+require 'rake'
+require 'rake/testtask'
+
+desc 'Default: run unit tests.'
+task :default => :test
+
+desc 'Test the permalink_fu plugin.'
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'lib'
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = true
+end
\ No newline at end of file