Replaced should syntax with expect in Capybara test