diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-14 16:23:28 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-14 16:23:28 +0400 |
commit | fa3c087a4cad7a62b2aec9df88d379c1822e0d0c (patch) | |
tree | 999fff8b60d4e9442238366696618c2faeca48e5 /lib/tasks/spec.rake | |
parent | b5d81174fb12296ade36ec1f52546b8527bbdcf1 (diff) |
Clear rake task only if defined
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/tasks/spec.rake')
-rw-r--r-- | lib/tasks/spec.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/spec.rake b/lib/tasks/spec.rake index 4e562459e15..90a1809914b 100644 --- a/lib/tasks/spec.rake +++ b/lib/tasks/spec.rake @@ -1,4 +1,4 @@ -Rake::Task["spec"].clear +Rake::Task["spec"].clear if Rake::Task.task_defined?('spec') desc "GITLAB | Run specs" task :spec do |