Skip to content

Commit 7233279

Browse files
committed
wip
1 parent 71a2dad commit 7233279

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

example_app_generator/generate_stuff.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,15 @@ def using_source_path(path)
139139
'skip("Add a hash of attributes valid for your model")',
140140
'{}'
141141

142+
prepend_to_file 'spec/spec_helper.rb', <<-'END'
143+
module Foo
144+
def require(*)
145+
puts "require from #{caller.first}"
146+
super
147+
end
148+
end
149+
150+
include Foo
151+
END
152+
142153
final_tasks

0 commit comments

Comments
 (0)