RSpec test for update_positions method