Fix rspec failure.
use global pairs