From 89fead492f603e76a45e10e94f183cf9bd499ce9 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Wed, 24 Jun 2015 14:54:28 +0100 Subject: [PATCH] fix travis --- Gemfile.lock | 2 +- Rakefile | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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'