I'm relatively new to Ruby and Rails. We are using it at work and
running in a TDD/continuous integration environment.
I am getting some functional tests failing.
We have a UserController and have the basic REST endpoints for the
The functional test makes use of a user fixture to test the delete,
update and edit calls.
the edit and update test methods fail. And it is because they are
using the same fixture that the delete is. Since the delete test
method gets run first it's deleting the user the edit and update are
depending on. (if i use a different fixture for each test they all
However it's my understanding that the tests are supposed to be
isolated from each other and the test should pass using the same
fixture for each.
This belief is further backed up by the fact that it the tests pass on
our CI machine.
So my first guess is that it must be something on my machine (I'm
running on a Mac OS X mac book pro). But I'm not sure where to start
I've resynched to the source tree from my source control. So I know I
have the exact code that the source repository has.
so I'm wondering if anyone has any suggestions as to where to start
tracking this down? What types of things you would try... etc
Thanks so much!