Refactor associations.rb into using multiline strings for feature tests