1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Update generator generated test file naming

This commit is contained in:
Richard Lee 2014-10-21 17:07:43 +08:00
parent d8ee1a80b1
commit 92406ab65a

View file

@ -29,7 +29,7 @@ module Sidekiq
template_file = File.join(
'spec/workers',
class_path,
"#{file_name}_spec.rb"
"#{file_name}_worker_spec.rb"
)
template 'worker_spec.rb.erb', template_file
end
@ -38,7 +38,7 @@ module Sidekiq
template_file = File.join(
'test/workers',
class_path,
"#{file_name}_test.rb"
"#{file_name}_worker_test.rb"
)
template 'worker_test.rb.erb', template_file
end