shouldn't this be `assert_equal([1, 2], x.ratings)` ?