summaryrefslogtreecommitdiff
path: root/tasks/rspec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/rspec.rb')
-rw-r--r--tasks/rspec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/tasks/rspec.rb b/tasks/rspec.rb
index 72c783038f..a52960f165 100644
--- a/tasks/rspec.rb
+++ b/tasks/rspec.rb
@@ -25,7 +25,6 @@ CHEF_ROOT = File.join(File.dirname(__FILE__), "..")
begin
require "rspec/core/rake_task"
-
desc "Run specs for Chef's Components"
task :component_specs do
Dir.chdir("chef-config") do
@@ -55,7 +54,7 @@ begin
t.pattern = FileList["spec/**/*_spec.rb"]
t.rcov = true
t.rcov_opts = lambda do
- IO.readlines("#{CHEF_ROOT}/spec/rcov.opts").map {|l| l.chomp.split " "}.flatten
+ IO.readlines("#{CHEF_ROOT}/spec/rcov.opts").map { |l| l.chomp.split " " }.flatten
end
end