Skip to content

Commit

Permalink
Move require into RSpec defined guard
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Jan 9, 2024
1 parent c980af1 commit 7a948b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/tasks/test_vmdb.rake
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
require_relative "./evm_test_helper"
require 'parallel_tests/tasks'

if defined?(RSpec) && defined?(RSpec::Core::RakeTask)

require 'parallel_tests/tasks'

namespace :test do
namespace :vmdb do
desc "Setup environment for vmdb specs"
Expand Down

0 comments on commit 7a948b7

Please sign in to comment.