Rakefile in spidey-mongo-0.2.0 vs Rakefile in spidey-mongo-0.3.0
- old
+ new
@@ -1,11 +1,22 @@
-require "bundler/gem_tasks"
+require 'bundler/gem_tasks'
+
+Bundler.setup :default, :development
+
+require 'rspec/core'
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern = FileList["spec/**/#{ENV['MONGO_VERSION'] || 'mongo2'}_spec.rb"]
+end
+
+task default: :spec