Skip to content

Commit

Permalink
remove load_previews
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhawksley committed May 26, 2022
1 parent f89176c commit 2a6f4ba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions test/sandbox/test/components/my_component_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
class MyComponentTest < ViewComponent::TestCase
include ViewComponent::RenderPreviewHelper

def setup
ViewComponent::Preview.load_previews
end

def test_render_preview
render_preview(:default)

Expand Down
4 changes: 0 additions & 4 deletions test/sandbox/test/integration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
require "test_helper"

class IntegrationTest < ActionDispatch::IntegrationTest
def setup
ViewComponent::Preview.load_previews
end

def test_rendering_component_in_a_view
get "/"
assert_response :success
Expand Down

0 comments on commit 2a6f4ba

Please sign in to comment.