summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordave.strock@gmail.com2011-06-23 20:46:25 -0500
committerChris Sepic2011-06-28 13:16:29 -0500
commit8367b64390e33f7991a28efbb213703cdfc89223 (patch)
tree8b3436d4a0df2d5c263ea6956c0f1c854d1b9702
parente987ccb23d9a1a068c975aa4448dd324a23b5672 (diff)
downloadevernote-8367b64390e33f7991a28efbb213703cdfc89223.tar.bz2
Added spec options to Rakefile, since spec.opts is not read in rspec2
-rw-r--r--Rakefile2
-rw-r--r--spec/spec.opts2
2 files changed, 2 insertions, 2 deletions
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