Capybara testing for assignments