updated spec syntax as urged  by newer rspec (2.1)