From e71560df5cebbfb209089c6255e37e65f0e34d95 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Tue, 2 Jul 2019 15:11:54 -0700 Subject: Style/SymbolArray start enforcing using %i{} instead of arrays of symbols Signed-off-by: Lamont Granquist --- tasks/rspec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tasks') diff --git a/tasks/rspec.rb b/tasks/rspec.rb index afd7d12705..2d20a0ffa7 100644 --- a/tasks/rspec.rb +++ b/tasks/rspec.rb @@ -77,7 +77,7 @@ begin t.pattern = FileList["spec/unit/node_spec.rb", "spec/unit/role_spec.rb"] end - [:unit, :functional, :integration, :stress].each do |sub| + %i{unit functional integration stress}.each do |sub| desc "Run the specs under spec/#{sub}" RSpec::Core::RakeTask.new(sub) do |t| t.rspec_opts = %w{--profile} -- cgit v1.2.1