Skip to content

Commit

Permalink
fixup! fixup! Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paul committed Oct 16, 2024
1 parent 8953237 commit 1eae092
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
require "generators/view_component/component/component_generator"

class ComponentGeneratorTest < Rails::Generators::TestCase
tests Rails::Generators::ComponentGenerator
tests ViewComponent::Generators::ComponentGenerator
destination Dir.mktmpdir
setup :prepare_destination

Expand Down
4 changes: 2 additions & 2 deletions test/test_engine/test/generators/preview_generator_test.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# frozen_string_literal: true

require_relative "../../test_helper"
require "generators/view_component/component/component_generator"
require "generators/view_component/preview/preview_generator"

class PreviewGeneratorTest < Rails::Generators::TestCase
tests Preview::Generators::ComponentGenerator
tests ViewComponent::Generators::PreviewGenerator
destination Dir.mktmpdir
setup :prepare_destination

Expand Down
4 changes: 2 additions & 2 deletions test/test_engine/test/generators/test_unit_generator_test.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# frozen_string_literal: true

require_relative "../../test_helper"
require "rails/generators/preview/component_generator"
require "generators/view_component/test_unit/test_unit_generator"

class TestUnitGeneratorTest < Rails::Generators::TestCase
tests TestUnit::Generators::ComponentGenerator
tests ViewComponent::Generators::TestUnitGenerator
destination Dir.mktmpdir
setup :prepare_destination

Expand Down

0 comments on commit 1eae092

Please sign in to comment.