fix the couple rspec 3.0+ errors