Skip to content

Commit 64b7c03

Browse files
committed
rspec/autorun is deprecated
1 parent bf0541f commit 64b7c03

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Rakefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ end
1515
##
1616
# Configure the test suite.
1717
##
18-
require 'rake/testtask'
19-
require 'rspec/autorun'
18+
require 'rspec/core/rake_task'
2019

21-
Rake::TestTask.new :spec do |t|
22-
t.test_files = FileList['spec/**/*_spec.rb']
20+
RSpec::Core::RakeTask.new(:spec) do |t|
21+
t.pattern = 'spec/**/*_spec.rb'
2322
end
2423

2524
##

0 commit comments

Comments
 (0)