Capybara versions upgraded to prevent RSpec deprecation messages

Old capybara version uses some legacy RSpec matchers. This update removes deprecations messages