Rakefile in simple_stats-1.0.0 vs Rakefile in simple_stats-1.1.0
- old
+ new
@@ -1,9 +1,18 @@
require "bundler/gem_tasks"
+
+task :default => :test
+
+desc "Run the tests (rspec)"
+task(:test) do
+ require 'rspec/autorun'
+ $LOAD_PATH.unshift(File.expand_path '../spec', __FILE__)
+ Dir.glob(File.expand_path '../spec/**/*_spec.rb', __FILE__).each {|s| require s}
+end