Skip to content

Commit 1a4321a

Browse files
committed
Make rake_tasks stub a class method
1 parent ec3205f commit 1a4321a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/rails_kit/stub.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ def logger
2020
end
2121

2222
class Railtie
23-
def initialize(...)
23+
def self.rake_tasks
24+
[]
2425
end
2526

26-
def rake_tasks
27-
[]
27+
def initialize(...)
2828
end
2929
end
3030
end

0 commit comments

Comments
 (0)