instance method
create_test_files
Ruby on Rails 6.1.7.10
Since v6.0.6Signature
create_test_files()
No documentation comment.
Source
# File actioncable/lib/rails/generators/test_unit/channel_generator.rb, line 10
def create_test_files
template "channel_test.rb", File.join("test/channels", class_path, "#{file_name}_channel_test.rb")
end
Defined in actioncable/lib/rails/generators/test_unit/channel_generator.rb line 10
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TestUnit::Generators::ChannelGenerator