Specs missing in rails 4

Avoid using {...} for multi-line blocks.