Ask A Question

Notifications

You’re not receiving notifications from this thread.

How do I disable testing in Jumpstart pro?

Eric Tetreault asked in Testing

I am having a conflict with test data in jumpstart Pro. It continues to automatically add accounts that are conflicting with my other test data. I’m encountering an issue where Jumpstart Pro’s automatic test data creation is conflicting with my custom test data. Specifically, it seems to automatically add accounts and related data, which interferes with my test cases and results in unexpected behavior during testing.

Could you advise on how to:

1.  Completely disable Jumpstart Pro’s automatic test data creation in the test environment?
2.  Ensure Jumpstart Pro’s callbacks and data injection logic do not override or interfere with my existing test suite?

I’ve attempted to disable this in the rails_helper.rb file, but the issue persists. Any guidance or recommended configuration to resolve this conflict would be greatly appreciated. Thanks!

Reply

As a side note, it would be even better to know how to integrate jumpstart's testing with my own.

Reply

Feel free to change any of the fixtures as needed. The tests are there to make sure the built-in functionality works as expected, but you'll need to adjust them as you build out your application.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 88,096+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.