You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JSON Test Data 0.7 is breaking the tests because it generates objects with random values that don't play well with fixtures. Have to figure out a new way to test Rambo that doesn't rely on specific values.
One option, of course, would be to require JSON Test Data <= 0.6.0, but future versions will be much more flexible in he kinds of test data they generate and the amount of JSON schema they can work with.
The text was updated successfully, but these errors were encountered:
#27 resolved this for RSpec tests by stubbing out JsonTestData.generate! and returning a predetermined value. However, in the Cucumber suite this is not possible because Aruba spawns a child process in which to run the app, making JsonTestData as well as the rest of the app code unavailable to RSpec Mocks.
JSON Test Data 0.7 is breaking the tests because it generates objects with random values that don't play well with fixtures. Have to figure out a new way to test Rambo that doesn't rely on specific values.
One option, of course, would be to require JSON Test Data <= 0.6.0, but future versions will be much more flexible in he kinds of test data they generate and the amount of JSON schema they can work with.
The text was updated successfully, but these errors were encountered: