Permalink
Browse files

Add color and documentation format for spec

  • Loading branch information...
1 parent 9499c28 commit 18ec90131e2447db79b812d15d27b99e7eed0614 @LTe committed Jul 2, 2011
Showing with 1 addition and 15 deletions.
  1. +1 −15 Rakefile
View
16 Rakefile
@@ -25,22 +25,8 @@ Jeweler::RubygemsDotOrgTasks.new
require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.rspec_opts = ['-fd -c']
spec.pattern = FileList['spec/**/*_spec.rb']
end
-RSpec::Core::RakeTask.new(:rcov) do |spec|
- spec.pattern = 'spec/**/*_spec.rb'
- spec.rcov = true
-end
-
task :default => :spec
-
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "acts-as-messageable #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end

0 comments on commit 18ec901

Please sign in to comment.