From a1d92e3d05646d7f280989082c73a87da21e7761 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Sat, 26 Jul 2014 21:32:42 -0400 Subject: [PATCH] Use rake to run tests --- .travis.yml | 2 +- Rakefile | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6af3a67..dc02a75 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,4 @@ rvm: bundler_args: --jobs 7 -script: bundle exec rspec --color --format progress +script: bundle exec rake diff --git a/Rakefile b/Rakefile index c702cfc..0b7739b 100644 --- a/Rakefile +++ b/Rakefile @@ -1 +1,11 @@ require 'bundler/gem_tasks' + +require 'rspec/core/rake_task' +RSpec::Core::RakeTask.new do |t| + t.rspec_opts = [ + '--color', + '--format progress', + ].join(' ') +end + +task default: :spec