JJ / spray-test

Pruebas con spray.io para servidores REST.
https://jj.github.io/CC
0 stars 0 forks source link

Move to complete directive, Add test data #4

Closed oschrenk closed 8 years ago

oschrenk commented 8 years ago

The issue was just with test execution order. You should make your test cases independent of each other. I just added the test data before the respective test.

I also moved the executing code inside the complete directive. Code outside the complete directive. Also see: http://spray.io/documentation/1.2.4/spray-routing/advanced-topics/understanding-dsl-structure/