diff --git a/Gemfile.lock b/Gemfile.lock index e215bd4d..645bccf7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,7 @@ GEM remote: http://rubygems.org/ specs: + rake (10.4.2) addressable (2.3.8) builder (3.2.2) diff-lcs (1.2.5) @@ -38,7 +39,6 @@ GEM multi_xml (~> 0.5) rack (~> 1.2) rack (1.6.4) - rake (10.4.2) rdoc (4.2.0) json (~> 1.4) rdoc-data (4.0.1) diff --git a/Rakefile b/Rakefile index 632415e7..94df6945 100644 --- a/Rakefile +++ b/Rakefile @@ -49,10 +49,13 @@ Jeweler::Tasks.new do |gem| end Jeweler::RubygemsDotOrgTasks.new +require 'rspec/core' require 'rspec/core/rake_task' -RSpec::Core::RakeTask.new(:spec) +RSpec::Core::RakeTask.new(:spec) do |spec| + spec.pattern = FileList['spec/**/*_spec.rb'] +end -task :default => [:spec] +task :default => :spec require 'rdoc/task'