summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Ziegler <austin@zieglers.ca>2021-12-20 12:43:44 -0500
committerAustin Ziegler <austin@zieglers.ca>2021-12-20 12:43:44 -0500
commitc2a5b875a81c5882ed3de16b7aeaae2ac989e3e6 (patch)
tree3b8583e8c0dd593b8bd126cd1c0a5b37f571d4f2
parent8c6de92fcc4f3dc416828a1806043e0d775ec9d0 (diff)
downloaddiff-lcs-c2a5b875a81c5882ed3de16b7aeaae2ac989e3e6.tar.gz
Ensure that `rake test` runs `rake spec`master
-rw-r--r--Rakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index d65f2ea..762bd69 100644
--- a/Rakefile
+++ b/Rakefile
@@ -85,11 +85,11 @@ end
desc "Run all specifications"
RSpec::Core::RakeTask.new(:spec) do |t|
- rspec_dirs = %w(spec lib)
- t.rspec_opts = []
- t.rspec_opts << "-I#{rspec_dirs.join(":")}" unless rspec_dirs.empty?
+ rspec_dirs = %w(spec lib).join(":")
+ t.rspec_opts = ["-I#{rspec_dirs}"]
end
task :default => :spec
+task :test => :spec
if RUBY_VERSION >= '2.0' && RUBY_ENGINE == 'ruby'
namespace :spec do