Skip to content

Commit

Permalink
Merge pull request sidekiq#2016 from dlackty/generator-spec-test
Browse files Browse the repository at this point in the history
Update generator generated test file naming
  • Loading branch information
seuros committed Oct 21, 2014
2 parents d8ee1a8 + 92406ab commit dc74436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/generators/sidekiq/worker_generator.rb
Expand Up @@ -29,7 +29,7 @@ def create_worker_spec
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
Expand All @@ -38,7 +38,7 @@ def create_worker_test
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
Expand Down

0 comments on commit dc74436

Please sign in to comment.