upgrading assertion syntax compatible with rspec  ~> 2.99