Skip to content

Commit

Permalink
standard fix
Browse files Browse the repository at this point in the history
  • Loading branch information
laicuRoot committed Dec 1, 2023
1 parent 7a69e2b commit 89ceac7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/generators/suspenders/jobs_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def configure_active_job
environment "config.active_storage.queues.analysis = nil"
environment "config.active_storage.queues.purge = nil"
environment "config.active_storage.queues.mirror = nil"
environment "config.active_job.queue_adapter = :inline", env: 'test'
environment "config.active_job.queue_adapter = :inline", env: "test"
end

def configure_procfile
Expand All @@ -31,7 +31,6 @@ def configure_procfile
create_file "Procfile.dev", "sidekiq: bundle exec sidekiq -q default"
end
end

end
end
end
2 changes: 1 addition & 1 deletion test/generators/suspenders/jobs_generator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class JobsGeneratorTest < Rails::Generators::TestCase
test "installs gems with Bundler" do
output = run_generator

assert_match /bundle install/, output
assert_match(/bundle install/, output)
end

test "generator has a description" do
Expand Down

0 comments on commit 89ceac7

Please sign in to comment.