diff --git a/Rakefile b/Rakefile index 9907e2b..b889197 100644 --- a/Rakefile +++ b/Rakefile @@ -2,8 +2,8 @@ COOKBOOKS = FileList[File.join("site-cookbooks", "*")] task :test do COOKBOOKS.each do |cookbook| - #sh "knife cookbook test #{File.basename(cookbook)}" - sh "foodcritic #{cookbook}" + sh "knife cookbook test '#{File.basename(cookbook)}' -o site-cookbooks" + sh "foodcritic '#{cookbook}'" end sh "rspec spec" end