mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Merge pull request #2016 from dlackty/generator-spec-test
Update generator generated test file naming
This commit is contained in:
commit
dc744360c5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue