Rakefile in stash-wrapper-0.1.11.1 vs Rakefile in stash-wrapper-0.1.12
- old
+ new
@@ -6,11 +6,11 @@
namespace :spec do
desc 'Run all unit tests'
RSpec::Core::RakeTask.new(:unit) do |task|
- task.rspec_opts = %w(--color --format documentation --order default)
+ task.rspec_opts = %w[--color --format documentation --order default]
task.pattern = 'unit/**/*_spec.rb'
end
task all: [:unit]
end
@@ -42,6 +42,6 @@
# ------------------------------------------------------------
# Defaults
desc 'Run unit tests, check test coverage, check code style'
-task default: [:coverage, :rubocop]
+task default: %i[coverage rubocop]