mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Remove test which requires a lot more Rails set up than I want to deal with
Prints a big deprecation warning with Rails 4.2.
This commit is contained in:
parent
846e661de4
commit
10c9eca93f
1 changed files with 0 additions and 17 deletions
|
@ -1,17 +0,0 @@
|
|||
require_relative 'helper'
|
||||
require 'rails/generators/test_case'
|
||||
require 'generators/sidekiq/worker_generator'
|
||||
|
||||
class WorkerGeneratorTest < Rails::Generators::TestCase
|
||||
tests Sidekiq::Generators::WorkerGenerator
|
||||
arguments %w(foo)
|
||||
destination File.expand_path("../tmp", File.dirname(__FILE__))
|
||||
setup :prepare_destination
|
||||
|
||||
test "worker is created and its test" do
|
||||
run_generator
|
||||
|
||||
assert_file "app/workers/foo_worker.rb"
|
||||
assert_file "test/workers/foo_worker_test.rb"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue