Added Ruby styles for Rspec #raise_error.