Extracted common constants to spec_helper.rb.