I have some integration points where I want to test various responses - where do you think should I store these artifacts in my spec/ directory of my rails application?
From stackoverflow
danpickett
-
you could just create a spec/fixtures dir and stick em in there.
From Eric Allam -
are they really fixtures? does that break convention with yaml typically being the only files in there?
From danpickett -
In the past I've created a test/resources or spec/resources directory for other test/spec related files. That seems to keep it clear that it's some sort of other file used only for testing.
From Ian Terrell
0 comments:
Post a Comment