diff options
author | Bryan McLellan <btm@loftninjas.org> | 2008-10-13 19:24:57 -0700 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2008-10-13 19:24:57 -0700 |
commit | 5c83cd36db72b93f532e9d6f8d6619d65c814484 (patch) | |
tree | 16d9c13e4a590dcfd18f8d2bd79e3caf77338800 | |
parent | f4fe98d0c3b3486780f76be769bfd7d474e7c227 (diff) | |
download | chef-5c83cd36db72b93f532e9d6f8d6619d65c814484.tar.gz |
lib/spec/translator was removed in rspec 1.1.5 (rspec git 0ecb1014)
remove require, commented example code, duplicate require for spectask
-rw-r--r-- | chef/tasks/rspec.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/chef/tasks/rspec.rb b/chef/tasks/rspec.rb index 80b0a79557..44e9ea2864 100644 --- a/chef/tasks/rspec.rb +++ b/chef/tasks/rspec.rb @@ -2,14 +2,6 @@ require 'rubygems' require 'rake' require 'spec/rake/spectask' -#desc "Run all examples" -#Spec::Rake::SpecTask.new('spec') do |t| -# t.spec_files = FileList[File.join(File.dirname(__FILE__), "..", "spec", "**", "*.rb")] -#end - -require 'spec/rake/spectask' -require 'spec/translator' - CHEF_ROOT = File.join(File.dirname(__FILE__), "..") task :default => :spec @@ -51,4 +43,4 @@ namespace :spec do dir = CHEF_ROOT + '/spec' translator.translate(dir, dir) end -end
\ No newline at end of file +end |