From 8367b64390e33f7991a28efbb213703cdfc89223 Mon Sep 17 00:00:00 2001 From: dave.strock@gmail.com Date: Thu, 23 Jun 2011 20:46:25 -0500 Subject: Added spec options to Rakefile, since spec.opts is not read in rspec2 --- Rakefile | 2 ++ spec/spec.opts | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 spec/spec.opts diff --git a/Rakefile b/Rakefile index aed54e1..bb2e4a6 100644 --- a/Rakefile +++ b/Rakefile @@ -23,10 +23,12 @@ end require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = 'spec/**/*_spec.rb' + spec.rspec_opts = %w{ --colour } end RSpec::Core::RakeTask.new(:rcov) do |spec| spec.pattern = 'spec/**/*_spec.rb' + spec.rspec_opts = %w{ --colour } spec.rcov = true end diff --git a/spec/spec.opts b/spec/spec.opts deleted file mode 100644 index c622296..0000000 --- a/spec/spec.opts +++ /dev/null @@ -1,2 +0,0 @@ ---colour ---diff \ No newline at end of file -- cgit v1.2.3