cleaning up extra spacing
updating rspec syntax