diff options
author | Daniel DeLeo <dan@opscode.com> | 2010-05-09 10:05:05 -0700 |
---|---|---|
committer | Daniel DeLeo <dan@opscode.com> | 2010-05-11 23:50:41 -0700 |
commit | 94b5f709a6e74ce6e72819191f2a6400c76a7fc1 (patch) | |
tree | ff4d496ed9e62cf08d7a0c20cbcf8c481856fd07 /chef/tasks/rspec.rb | |
parent | 39ff4b937123ae053b2ba61353437ccaf0fcc8ca (diff) | |
download | chef-94b5f709a6e74ce6e72819191f2a6400c76a7fc1.tar.gz |
whitespace and trailing newline
Diffstat (limited to 'chef/tasks/rspec.rb')
-rw-r--r-- | chef/tasks/rspec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chef/tasks/rspec.rb b/chef/tasks/rspec.rb index d73d3f42c5..87a65fb25d 100644 --- a/chef/tasks/rspec.rb +++ b/chef/tasks/rspec.rb @@ -7,9 +7,9 @@ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -43,7 +43,7 @@ begin IO.readlines("#{CHEF_ROOT}/spec/rcov.opts").map {|l| l.chomp.split " "}.flatten end end - + desc "Print Specdoc for all specs" Spec::Rake::SpecTask.new(:doc) do |t| t.spec_opts = ["--format", "specdoc", "--dry-run"] @@ -57,7 +57,7 @@ begin t.spec_files = FileList["spec/#{sub}/**/*_spec.rb"] end end - + desc "Translate/upgrade specs using the built-in translator" task :translate do translator = ::Spec::Translator.new @@ -67,4 +67,4 @@ begin end rescue LoadError STDERR.puts "\n*** Rspec not available. (sudo) gem install rspec to run unit tests. ***\n\n" -end
\ No newline at end of file +end |