Rakefile in bigcartel-0.2.3 vs Rakefile in bigcartel-1.0.0
- old
+ new
@@ -1,7 +1,15 @@
-require 'bundler'
-Bundler::GemHelper.install_tasks :name => 'bigcartel'
-
-require 'rspec/core/rake_task'
-RSpec::Core::RakeTask.new(:spec)
-
-task :default => :spec
\ No newline at end of file
+require 'rubygems'
+require 'bundler'
+Bundler::GemHelper.install_tasks
+
+require 'rspec/core/rake_task'
+
+desc "Default: run unit tests"
+task :default => :spec
+task :test => :spec
+
+desc "Run all specs"
+RSpec::Core::RakeTask.new do |t|
+ t.pattern = 'spec/**/*_spec.rb'
+end
+