updated to rspec 3 format