upgrade to RSpec 3

#7073 revised
Line is too long. [122/80]<br>Redundant curly braces around a hash parameter.<br>Space missing after colon.<br>Space inside { missing.<br>Space inside } missing.