Friday, February 11, 2011

Best place in spec/ for integration responses?

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?

  • 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.

0 comments:

Post a Comment