Rakefile in eycap-0.6.1 vs Rakefile in eycap-0.6.2
- old
+ new
@@ -1,2 +1,16 @@
+# The bundler rake tasks help automate the distribution of this gem.
require 'bundler'
-Bundler::GemHelper.install_tasks
+Bundler::GemHelper.install_tasks
+
+# Define a default 'rake' alias for minitest so that when you type
+# rake in the root of the <tt>eycap</tt> folder you will run the tests.
+# https://github.com/jimweirich/rake/blob/master/lib/rake/testtask.rb
+
+require "rake/testtask"
+
+Rake::TestTask.new do |t|
+ t.libs << "test"
+ t.pattern = "test/**/*_test.rb"
+end
+
+task :default => :test
\ No newline at end of file