Permalink
Browse files

Add rake task for running specs

  • Loading branch information...
1 parent 00e48d5 commit 8b0027ee5e4164a68e22f66625bc31fedfd75d43 @alindeman alindeman committed Jun 27, 2011
Showing with 5 additions and 0 deletions.
  1. +4 −0 Rakefile
  2. +1 −0 mm-optimistic_locking.gemspec
View
@@ -1 +1,5 @@
require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec)
+task :default => :spec
@@ -31,5 +31,6 @@ Gem::Specification.new do |s|
s.add_dependency 'mongo_mapper', '~>0.9.0'
s.add_dependency 'activesupport', '~>3.0'
+ s.add_development_dependency 'rake', '~>0.8.7'
s.add_development_dependency 'rspec', '~>2.6.0'
end

0 comments on commit 8b0027e

Please sign in to comment.