diff --git a/lib/generators/suspenders/lint_generator.rb b/lib/generators/suspenders/lint_generator.rb index af81b5731..96aa0533f 100644 --- a/lib/generators/suspenders/lint_generator.rb +++ b/lib/generators/suspenders/lint_generator.rb @@ -55,13 +55,6 @@ def update_package_json File.write package_json, JSON.pretty_generate(json) end - # This needs to be the last method definition to ensure everything is - # properly configured - def fix_violations - run "yarn run fix:prettier" - run "bundle exec rake standard:fix_unsafely" - end - private def package_json diff --git a/test/generators/suspenders/lint_generator_test.rb b/test/generators/suspenders/lint_generator_test.rb index 7bc82f6ec..13b2608a2 100644 --- a/test/generators/suspenders/lint_generator_test.rb +++ b/test/generators/suspenders/lint_generator_test.rb @@ -248,15 +248,6 @@ class LintGeneratorTest < Rails::Generators::TestCase assert_equal desc, generator_class.desc end - test "fixes violations" do - capture(:stderr) do - output = run_generator - - assert_match(/yarn run fix:prettier/, output) - assert_match(/bundle exec rake standard:fix_unsafely/, output) - end - end - private def prepare_destination