update rspec to the latest + fix deprecation warning + on small fix in spec