Exception: Quilt::ReactRenderable::DoNotIntegrationTestError
- Inherits:
-
StandardError
- Object
- StandardError
- Quilt::ReactRenderable::DoNotIntegrationTestError
- Defined in:
- lib/quilt_rails/react_renderable.rb
Instance Method Summary collapse
-
#initialize ⇒ DoNotIntegrationTestError
constructor
A new instance of DoNotIntegrationTestError.
Constructor Details
#initialize ⇒ DoNotIntegrationTestError
Returns a new instance of DoNotIntegrationTestError.
65 66 67 68 69 70 71 72 |
# File 'lib/quilt_rails/react_renderable.rb', line 65 def initialize super(<<~MSG.squish) Please don't test React views with Ruby. Jest and @shopify/react-testing should be used to test React components. If you meant to query your Rails application, please check your integration test for errors. MSG end |