RSpec shared example to test a select2 method