Skip to content

Commit 9230ca1

Browse files
committed
Support rake 11.x
The method `Rake.application.last_comment` has been removed in favor of `Rake.application.last_description`
1 parent 45e418a commit 9230ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/core/rake_task.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def run_task(verbose)
8888

8989
# @private
9090
def define(args, &task_block)
91-
desc "Run RSpec code examples" unless ::Rake.application.last_comment
91+
desc "Run RSpec code examples" unless ::Rake.application.last_description
9292

9393
task name, *args do |_, task_args|
9494
RakeFileUtils.__send__(:verbose, verbose) do

0 commit comments

Comments
 (0)