From 3d3baec01466f5745f96c4ece4ade6bdea11e81d Mon Sep 17 00:00:00 2001 From: Matt Robinson Date: Thu, 6 Jan 2011 15:10:35 -0800 Subject: maint: Remove rspec options from the Rakefile Having the Rakefile set RSpec options made it so that the .rspec (spec.opts in RSpec < 2) file for personal RSpec preferences was ignored. It also caused the ci_reporter RSpec options to be ignored which meant that Hudson couldn't get consumable output from our spec runs. It's also about time Puppet had a project level .gitignore file so that if people want personal rspec preferences (color or a different print format for example) in a .rspec file, those changes don't actually get checked in. Paired-with: Jesse Wolfe --- .gitignore | 2 ++ Rakefile | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..1e6b959a0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.rspec +results diff --git a/Rakefile b/Rakefile index 728f1e3de..38cfec6ce 100644 --- a/Rakefile +++ b/Rakefile @@ -43,7 +43,6 @@ desc "Create the tarball and the gem - use when releasing" task :puppetpackages => [:create_gem, :package] RSpec::Core::RakeTask.new do |t| - t.rspec_opts = ['--format','s', '--color'] t.pattern ='spec/{unit,integration}/**/*.rb' t.fail_on_error = false end -- cgit