Skip to content

Commit b347995

Browse files
tjgrathwelltricknotes
authored andcommitted
Support rake 11.x
The method `Rake.application.last_comment` has been removed in favor of `Rake.application.last_description`
1 parent 2fb1d5b commit b347995

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
@@ -140,7 +140,7 @@ def spec_opts=(opts)
140140
def initialize(*args, &task_block)
141141
setup_ivars(args)
142142

143-
desc "Run RSpec code examples" unless ::Rake.application.last_comment
143+
desc "Run RSpec code examples" unless ::Rake.application.last_description
144144

145145
task name, *args do |_, task_args|
146146
RakeFileUtils.send(:verbose, verbose) do

0 commit comments

Comments
 (0)