summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorMarc A. Paradise <marc.paradise@gmail.com>2021-04-30 12:22:52 -0400
committerMarc A. Paradise <marc.paradise@gmail.com>2021-04-30 13:21:38 -0400
commitd02f2968a79eaf7ef60363d02e24ad12515f0652 (patch)
treea8eb3c5be1896bd7179e18f44d16c8e1af32b0c8 /tasks
parent629a0efa38a577592ac357ccf06b39c01f5737f4 (diff)
downloadchef-d02f2968a79eaf7ef60363d02e24ad12515f0652.tar.gz
remove knife spec exclusions
knife specs are no longer in this path, so they don't need to be excluded anymore. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
Diffstat (limited to 'tasks')
-rw-r--r--tasks/rspec.rb11
1 files changed, 2 insertions, 9 deletions
diff --git a/tasks/rspec.rb b/tasks/rspec.rb
index 9c406bc135..e437f30227 100644
--- a/tasks/rspec.rb
+++ b/tasks/rspec.rb
@@ -44,9 +44,7 @@ begin
RSpec::Core::RakeTask.new(:spec) do |t|
t.verbose = false
t.rspec_opts = %w{--profile}
- t.pattern = FileList["spec/**/*_spec.rb"].reject do |path|
- path =~ /knife.*/
- end
+ t.pattern = FileList["spec/**/*_spec.rb"]
end
namespace :spec do
@@ -55,9 +53,6 @@ begin
t.verbose = false
t.rspec_opts = %w{--profile}
t.pattern = FileList["spec/**/*_spec.rb"]
- t.pattern = FileList["spec/**/*_spec.rb"].reject do |path|
- path =~ /knife.*/
- end
end
desc "Print Specdoc for all specs"
@@ -80,9 +75,7 @@ begin
RSpec::Core::RakeTask.new(sub) do |t|
t.verbose = false
t.rspec_opts = %w{--profile}
- t.pattern = FileList["spec/#{sub}/**/*_spec.rb"].reject do |path|
- path =~ /knife.*/
- end
+ t.pattern = FileList["spec/#{sub}/**/*_spec.rb"]
end
end
end