specs updated to rspec 3 syntax