A track assembly, adapted to be mounted in a housing, having first and second rail members aligned with one another and allowed limited relative longitudinal movement with respect to the other. The joined first and second rail members have a mounting bracket attached to distal ends of the rail members. A spring, positioned between the rail members, provides a force extending the distance between the distal ends of the rail members. A locking mechanism interacts with the rail members and has a locked position resisting inward movement of the distal ends. The method of installing the track assembly in a rack is accomplished by compressing the track assembly to reduce its overall length prior to positioning it between opposing rack members. The track assembly is released to securely engage the opposing rack members and locked in position.