change to endpoint spec to remove ruby 1.9 dependency