Skip to content

Commit 69ec4d9

Browse files
committed
fix tests for Ruby 2.3
1 parent 8d25b72 commit 69ec4d9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rake_tasks/test.rake

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ Please rename or remove it and run again to use the GitHub repository:
7979
end
8080
end
8181

82-
require 'rspec/core/rake_task'
83-
RSpec::Core::RakeTask.new(:spec)
82+
unless RUBY_VERSION[/^2.3/]
83+
require 'rspec/core/rake_task'
84+
RSpec::Core::RakeTask.new(:spec)
85+
end
8486

8587
task :test => %w(test:functional test:units test:exe spec)

0 commit comments

Comments
 (0)