1
0
Fork 0
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:
Abdelkader Boudih 2014-10-21 10:21:23 +01:00
commit dc744360c5

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