summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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