update rspec to 3.0 and update spec syntax