0
0
Commit Graph

6 Commits

Author SHA1 Message Date
Gibheer
d645a2eb49 reworked the tests to make them cleaner
The tests now use simple lists for the types to make it easier to
distinguish between all elements.
The tests themselves are also shared now.
2013-01-10 21:43:12 +01:00
0ef61c062f Rename Zero::Request::AcceptType spec folder 2013-01-10 20:18:03 +01:00
158dc45ba6 Kill the last mutant in Zero::Request:AcceptType 2013-01-10 19:37:03 +01:00
Gibheer
ae0b32a58f take strings for body
This makes the assignment for bodies easier when using plain Strings.
They get wrapped in an array as per rack definition.
For every other type, they have to implement each and get directly set
as body or have to be rendered to Strings first.
2013-01-09 20:08:26 +01:00
69aa01cabc Split response_spec.rb into single test files 2013-01-06 20:46:29 +01:00
3a82183563 Improve test structure
Created folder spec/unit/zero and moved all unittest into this folder.
2013-01-06 20:24:39 +01:00