Another option that might be more compact is just create a hash in a helper method  and then call to_json on it instead of a fixture file. Albeit, this does show what the document should look like more explicitly