updated rspec and capybara and fixed spec deprecations/errors